diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-26 11:40:41 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-26 11:42:40 +0300 |
commit | f88e6763d64f7f79e13680082f30e06aea11fab0 (patch) | |
tree | d6e586a513f8c3a2cb37c251091374ccc601d81d /source/blender/makesdna | |
parent | 3dc6528cd45aa840e4a7782669f01e84671d0247 (diff) |
Depsgraph and selection: Flush selcol on Depsgraph
Selection code needs to iterate over DEG_OBJECT_ITER otherwise we won't
get modifiers, dupli objects, ...
Also make selection respect selectability flag.
Review by: Sergey Sharybin
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 3045b5c3db5..31fc1c0a5c0 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -306,6 +306,8 @@ typedef struct Object { struct IDProperty *base_collection_properties; /* used by depsgraph, flushed from base */ ListBase drawdata; /* runtime, for draw engine datas */ + int base_selection_color; /* flushed by depsgraph only */ + int pad3[3]; } Object; /* Warning, this is not used anymore because hooks are now modifiers */ |