diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-27 11:10:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-27 11:10:26 +0300 |
commit | 4c1efcc829046dc8fc3e2daba0ad3e138a168b1b (patch) | |
tree | a213b27a2d1de7c3a2dadea21799624163fdad38 /source/blender | |
parent | 1fd2e6232a4146aebf4c5c18468343f63960356c (diff) |
Code cleanup, silence some warnings when building without legacy depsgraph
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 71247159536..bd03706c5b8 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1303,6 +1303,7 @@ static void scene_armature_depsgraph_workaround(Main *bmain) } #endif +#ifdef WITH_LEGACY_DEPSGRAPH static void scene_rebuild_rbw_recursive(Scene *scene, float ctime) { if (scene->set) @@ -1320,6 +1321,7 @@ static void scene_do_rb_simulation_recursive(Scene *scene, float ctime) if (BKE_scene_check_rigidbody_active(scene)) BKE_rigidbody_do_simulation(scene, ctime); } +#endif /* Used to visualize CPU threads activity during threaded object update, * would pollute STDERR with whole bunch of timing information which then |