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:
Ton Roosendaal
2007-01-11 12:13:54 +00:00
parent 3c578fbe12
commit a3e0a028cd
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 */