Revert r59500, has too much drawbakcs in term of speed... This bug ([#36289]) is not really solvable for now, will mark it as todo. :/
This commit is contained in:
@@ -487,8 +487,11 @@ static void rna_Scene_view3d_update(Main *bmain, Scene *UNUSED(scene_unused), Po
|
||||
static void rna_Scene_layer_update(Main *bmain, Scene *scene, PointerRNA *ptr)
|
||||
{
|
||||
rna_Scene_view3d_update(bmain, scene, ptr);
|
||||
/* We need do_time here, else we can have update issues like [#36289]... */
|
||||
DAG_on_visible_update(bmain, true);
|
||||
/* XXX We would need do_time=true here, else we can have update issues like [#36289]...
|
||||
* However, this has too much drawbacks (like slower layer switch, undesired updates...).
|
||||
* That's TODO for future DAG updates.
|
||||
*/
|
||||
DAG_on_visible_update(bmain, false);
|
||||
}
|
||||
|
||||
static void rna_Scene_fps_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr))
|
||||
|
||||
Reference in New Issue
Block a user