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

This commit is contained in:
Sergey Sharybin
2019-09-24 15:31:12 +02:00
parent 22abc205ac
commit 561dfd12be

View File

@@ -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);
}
}