diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-02 17:14:33 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-02 17:15:52 +0300 |
commit | ce7575c823f169747af870058334395cc9bf7b10 (patch) | |
tree | 54a53bddfe9edd7f6e0f89baffa68a2d396ae89c /source/blender/editors/object | |
parent | 40771a0e9e0ce5797cb413840d958c879e677a62 (diff) |
Static Override: Move 'auto' flag into override struct, expose it to RNA.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index fe53902d9a4..ee1ef490274 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -2332,7 +2332,7 @@ static int make_override_static_exec(bContext *C, wmOperator *op) } else { /* Disable auto-override tags for non-active objects, will help with performaces... */ - new_ob->id.flag &= ~LIB_OVERRIDE_STATIC_AUTO; + new_ob->id.override_static->flag &= ~STATICOVERRIDE_AUTO; } /* We still want to store all objects' current override status (i.e. change of parent). */ BKE_override_static_operations_create(&new_ob->id, true); |