Fix T55153: missing updates when changing simplify settings.

This line should not have been removed.
This commit is contained in:
Brecht Van Lommel 2018-05-22 18:15:24 +02:00
parent 3c44c67e96
commit 6e8d4bcd01
Notes: blender-bot 2023-02-14 05:51:15 +01:00
Referenced by issue #55153, Scene Simplify does not update correctly
1 changed files with 2 additions and 1 deletions

View File

@ -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);