bugfix #5683
IpoWindow: trying to assign a action-ipo to a Bone failed if Bone had not yet be included in Action.
This commit is contained in:
@@ -1662,7 +1662,7 @@ void do_ipo_selectbuttons(void)
|
||||
|
||||
/* ********************************* Inserting keys ********************************************* */
|
||||
|
||||
/* depending type, it returns ipo, if neded it creates one */
|
||||
/* depending type, it returns ipo, if needed it creates one */
|
||||
/* returns either action ipo or "real" ipo */
|
||||
/* arguments define full context;
|
||||
- *from has to be set always, to Object in case of Actions
|
||||
|
||||
@@ -111,7 +111,7 @@ void spaceipo_assign_ipo(SpaceIpo *si, Ipo *ipo)
|
||||
bActionChannel *achan;
|
||||
|
||||
if(ob->action) {
|
||||
achan= get_action_channel(ob->action, si->actname);
|
||||
achan= verify_action_channel(ob->action, si->actname);
|
||||
|
||||
if(achan) {
|
||||
/* constraint exception */
|
||||
|
||||
Reference in New Issue
Block a user