From 4c1efcc829046dc8fc3e2daba0ad3e138a168b1b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 27 May 2015 13:10:26 +0500 Subject: Code cleanup, silence some warnings when building without legacy depsgraph --- source/blender/blenkernel/intern/scene.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/intern') 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 -- cgit v1.2.3