Commit: 561dfd12be1846ba7ce2647bbb82112fb7ea1dd6
Author: Sergey Sharybin
Date:   Tue Sep 24 15:31:12 2019 +0200
Branches: master
https://developer.blender.org/rB561dfd12be1846ba7ce2647bbb82112fb7ea1dd6

Fix T70124: Motion path not drawn for Armature in Object Mode

===================================================================

M       source/blender/draw/intern/draw_anim_viz.c

===================================================================

diff --git a/source/blender/draw/intern/draw_anim_viz.c 
b/source/blender/draw/intern/draw_anim_viz.c
index 2d71fdf0782..7e0110cbb99 100644
--- a/source/blender/draw/intern/draw_anim_viz.c
+++ b/source/blender/draw/intern/draw_anim_viz.c
@@ -289,10 +289,9 @@ static void MPATH_cache_populate(void *vedata, Object *ob)
       }
     }
   }
-  else {
-    if (ob->mpath) {
-      MPATH_cache_motion_path(psl, ob, NULL, &ob->avs, ob->mpath);
-    }
+
+  if (ob->mpath) {
+    MPATH_cache_motion_path(psl, ob, NULL, &ob->avs, ob->mpath);
   }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to