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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-22 19:15:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-22 19:17:28 +0300
commit6e8d4bcd0189b4776614f4fef357e68fe1aed388 (patch)
tree73070b59376f2b4bf11cd1ebd0d53ab8f4eef0d8 /source
parent3c44c67e96da881dd60a6c6a88c9dd43dcb94245 (diff)
Fix T55153: missing updates when changing simplify settings.
This line should not have been removed.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 364c37c8f40..32b2f9504ca 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -1622,12 +1622,13 @@ static void object_simplify_update(Object *ob)
}
}
-static void rna_Scene_use_simplify_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)
+static void rna_Scene_use_simplify_update(Main *bmain, Scene *UNUSED(scene), PointerRNA *ptr)
{
Scene *sce = ptr->id.data;
Scene *sce_iter;
Base *base;
+ BKE_main_id_tag_listbase(&bmain->object, LIB_TAG_DOIT, true);
FOREACH_SCENE_OBJECT_BEGIN(sce, ob)
{
object_simplify_update(ob);