Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-02 17:14:33 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-02 17:15:52 +0300
commitce7575c823f169747af870058334395cc9bf7b10 (patch)
tree54a53bddfe9edd7f6e0f89baffa68a2d396ae89c /source/blender/editors/object
parent40771a0e9e0ce5797cb413840d958c879e677a62 (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.c2
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);