forked from bartvdbraak/blender
Bugfix, irc report from slw_sl:
Instert "avail" on object without ipo crashed. Null check missing.
This commit is contained in:
parent
1e62b58bcc
commit
c3794cb983
@ -1744,7 +1744,7 @@ void common_modifykey (short mode)
|
|||||||
if (achan && achan->ipo)
|
if (achan && achan->ipo)
|
||||||
icu= achan->ipo->curve.first;
|
icu= achan->ipo->curve.first;
|
||||||
}
|
}
|
||||||
else
|
else if(cks->ipo)
|
||||||
icu= cks->ipo->curve.first;
|
icu= cks->ipo->curve.first;
|
||||||
|
|
||||||
/* we get adrcodes directly from IPO curves (see method below...) */
|
/* we get adrcodes directly from IPO curves (see method below...) */
|
||||||
|
Loading…
Reference in New Issue
Block a user