diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-26 16:22:15 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-26 16:22:15 +0400 |
commit | 4b40ac92f199c6104a861cdf5c0d1894913dfdee (patch) | |
tree | 2f92f18c1def8eedbe207290458620b34c5b79d1 /source/blender/makesrna/intern/rna_scene.c | |
parent | e61c3beb4801bf0c25fc17c9d9cc6363c2646689 (diff) |
Revert r59500, has too much drawbakcs in term of speed... This bug ([#36289]) is not really solvable for now, will mark it as todo. :/
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 0b158d69f58..d2bb939282e 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -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)) |