writefile: reuse SDNA between writes
[blender.git] / source / creator / creator.c
index e2761c9ef38115e38348eca4e6a07e9ab6a6a375..289e68f6276ab26552c9f72ed07ea14f7c1b6f10 100644 (file)
@@ -42,6 +42,8 @@
 
 #include "MEM_guardedalloc.h"
 
+#include "DNA_genfile.h"
+
 #include "BLI_args.h"
 #include "BLI_threads.h"
 #include "BLI_utildefines.h"
@@ -350,6 +352,8 @@ int main(
 
        BLI_threadapi_init();
 
+       DNA_sdna_current_init();
+
        BKE_blender_globals_init();  /* blender.c */
 
        IMB_init();