OLD | NEW |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 9 * of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 #include "DNA_sound_types.h" | 57 #include "DNA_sound_types.h" |
58 | 58 |
59 #include "BLI_blenlib.h" | 59 #include "BLI_blenlib.h" |
60 #include "BLI_bpath.h" | 60 #include "BLI_bpath.h" |
61 #include "BLI_dynstr.h" | 61 #include "BLI_dynstr.h" |
62 #include "BLI_path_util.h" | 62 #include "BLI_path_util.h" |
63 #include "BLI_utildefines.h" | 63 #include "BLI_utildefines.h" |
64 #include "BLI_callbacks.h" | 64 #include "BLI_callbacks.h" |
65 | 65 |
66 #include "IMB_imbuf.h" | 66 #include "IMB_imbuf.h" |
| 67 #include "IMB_moviecache.h" |
67 | 68 |
68 #include "BKE_blender.h" | 69 #include "BKE_blender.h" |
69 #include "BKE_context.h" | 70 #include "BKE_context.h" |
70 #include "BKE_depsgraph.h" | 71 #include "BKE_depsgraph.h" |
71 #include "BKE_displist.h" | 72 #include "BKE_displist.h" |
72 #include "BKE_global.h" | 73 #include "BKE_global.h" |
73 #include "BKE_idprop.h" | 74 #include "BKE_idprop.h" |
74 #include "BKE_ipo.h" | 75 #include "BKE_ipo.h" |
75 #include "BKE_library.h" | 76 #include "BKE_library.h" |
76 #include "BKE_main.h" | 77 #include "BKE_main.h" |
(...skipping 30 matching lines...) Expand all Loading... |
107 free_main(G.main); | 108 free_main(G.main); |
108 G.main= NULL; | 109 G.main= NULL; |
109 | 110 |
110 BKE_spacetypes_free(); /* after free main, it uses space callba
cks */ | 111 BKE_spacetypes_free(); /* after free main, it uses space callba
cks */ |
111 ········ | 112 ········ |
112 IMB_exit(); | 113 IMB_exit(); |
113 | 114 |
114 BLI_cb_finalize(); | 115 BLI_cb_finalize(); |
115 | 116 |
116 seq_stripelem_cache_destruct(); | 117 seq_stripelem_cache_destruct(); |
| 118 IMB_moviecache_destruct(); |
117 ········ | 119 ········ |
118 free_nodesystem();······ | 120 free_nodesystem();······ |
119 } | 121 } |
120 | 122 |
121 void initglobals(void) | 123 void initglobals(void) |
122 { | 124 { |
123 memset(&G, 0, sizeof(Global)); | 125 memset(&G, 0, sizeof(Global)); |
124 ········ | 126 ········ |
125 U.savetime= 1; | 127 U.savetime= 1; |
126 | 128 |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 mainp= bfd->main; | 751 mainp= bfd->main; |
750 if(scene) | 752 if(scene) |
751 *scene= bfd->curscene; | 753 *scene= bfd->curscene; |
752 ················ | 754 ················ |
753 MEM_freeN(bfd); | 755 MEM_freeN(bfd); |
754 } | 756 } |
755 ········ | 757 ········ |
756 return mainp; | 758 return mainp; |
757 } | 759 } |
758 | 760 |
OLD | NEW |