Base refactor 2/4
authorDalai Felinto <dfelinto@gmail.com>
Mon, 6 Feb 2017 14:33:30 +0000 (15:33 +0100)
committerDalai Felinto <dfelinto@gmail.com>
Mon, 6 Feb 2017 17:06:47 +0000 (18:06 +0100)
Include extra legacy values in ObjectBase struct

source/blender/makesdna/DNA_layer_types.h

index 7b78d5123b21130694e090875f71df4448743030..6071d60fe87b7898f4eabaac98e7eed06b9894a0 100644 (file)
@@ -37,8 +37,12 @@ typedef struct ObjectBase {
        struct ObjectBase *next, *prev;
        short flag;
        short refcount;
-       short pad[2];
+       short sx, sy;
        struct Object *object;
+       unsigned int selcol;
+       unsigned int lay;
+       int flag_legacy;
+       int pad;
 } ObjectBase;
 
 typedef struct CollectionOverride {