diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 03:26:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 03:32:57 +0300 |
commit | 0cf12dfc14f8312d9fe9db1d512dfb55104f6ac6 (patch) | |
tree | 008d2986e3d31ce851749c65272492b49d18647e /source/blender/editors/armature/pose_edit.c | |
parent | 1c63a3a100414f504b25571fd0b8fd29af42922c (diff) |
Cleanup: indentation, style
Diffstat (limited to 'source/blender/editors/armature/pose_edit.c')
-rw-r--r-- | source/blender/editors/armature/pose_edit.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index 2ebc04a39ee..62f0f107360 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -202,7 +202,7 @@ void ED_pose_recalculate_paths(bContext *C, Scene *scene, Object *ob) /* Override depsgraph with a filtered, simpler copy */ if (G.debug_value != -1) { -TIMEIT_START(filter_pose_depsgraph); + TIMEIT_START(filter_pose_depsgraph); DEG_FilterQuery query = {0}; DEG_FilterTarget *dft_ob = MEM_callocN(sizeof(DEG_FilterTarget), "DEG_FilterTarget"); @@ -213,11 +213,11 @@ TIMEIT_START(filter_pose_depsgraph); free_depsgraph = true; MEM_freeN(dft_ob); -TIMEIT_END(filter_pose_depsgraph); + TIMEIT_END(filter_pose_depsgraph); -TIMEIT_START(filter_pose_update); + TIMEIT_START(filter_pose_update); BKE_scene_graph_update_tagged(depsgraph, bmain); -TIMEIT_END(filter_pose_update); + TIMEIT_END(filter_pose_update); } /* set flag to force recalc, then grab the relevant bones to target */ @@ -225,9 +225,10 @@ TIMEIT_END(filter_pose_update); animviz_get_object_motionpaths(ob, &targets); /* recalculate paths, then free */ -TIMEIT_START(pose_path_calc); + TIMEIT_START(pose_path_calc); animviz_calc_motionpaths(depsgraph, bmain, scene, &targets); -TIMEIT_END(pose_path_calc); + TIMEIT_END(pose_path_calc); + BLI_freelistN(&targets); /* tag armature object for copy on write - so paths will draw/redraw */ |