== Armature Path-Drawing ==
This adds a little paranoia check for some values used by path drawing which may be uninitialised in older-files causing an infinite loop.
This commit is contained in:
@@ -1747,6 +1747,8 @@ static void draw_pose_paths(Object *ob)
|
||||
glPushMatrix();
|
||||
glLoadMatrixf(G.vd->viewmat);
|
||||
|
||||
/* version patch here - cannot access frame info from file reading */
|
||||
if (arm->pathsize == 0) arm->pathsize= 1;
|
||||
stepsize = arm->pathsize;
|
||||
|
||||
for(pchan= ob->pose->chanbase.first; pchan; pchan= pchan->next) {
|
||||
|
||||
Reference in New Issue
Block a user