[Bf-blender-cvs] [6e8d4bcd018] blender2.8: Fix T55153: missing updates when changing simplify settings.
Brecht Van Lommel
noreply at git.blender.org
Tue May 22 18:20:26 CEST 2018
Commit: 6e8d4bcd0189b4776614f4fef357e68fe1aed388
Author: Brecht Van Lommel
Date: Tue May 22 18:15:24 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6e8d4bcd0189b4776614f4fef357e68fe1aed388
Fix T55153: missing updates when changing simplify settings.
This line should not have been removed.
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list