writefile: reuse SDNA between writes
[blender.git] / source / blender / blenloader / intern / readfile.h
index 42728fd406fd45b9494c66d52a80a50eb04b9fe2..b054cd0031d4180ae03824a0986927591294b585 100644 (file)
@@ -74,7 +74,7 @@ typedef struct FileData {
        
        // general reading variables
        struct SDNA *filesdna;
-       struct SDNA *memsdna;
+       const struct SDNA *memsdna;
        char *compflags;        /* array of eSDNA_StructCompare */
        
        int fileversion;