Bugfix #17810: Blender crashes when constraint-keys are moved in NLA

Copy and paste error. Was using ob-ipo instead of conchan->ipo
This commit is contained in:
Joshua Leung
2008-10-11 12:23:56 +00:00
parent f691752a34
commit 5df66e0865

View File

@@ -2725,7 +2725,7 @@ static void posttrans_nla_clean (TransInfo *t)
/* Check object constraint ipos */
for (conchan=ob->constraintChannels.first; conchan; conchan=conchan->next) {
i= count_ipo_keys(conchan->ipo, side, CFRA);
if (i) posttrans_ipo_clean(ob->ipo);
if (i) posttrans_ipo_clean(conchan->ipo);
}
/* skip actions and nlastrips if object is collapsed */