I decremented the 'user' of the deleted ipo,
but it had already been decremeted elsewhere. Thanks to zel365 for the head's up.
This commit is contained in:
@@ -1042,7 +1042,6 @@ void do_global_buttons(unsigned short event)
|
|||||||
bAction *act = (bAction*) from;
|
bAction *act = (bAction*) from;
|
||||||
bActionChannel *chan =
|
bActionChannel *chan =
|
||||||
get_hilighted_action_channel((bAction*)from);
|
get_hilighted_action_channel((bAction*)from);
|
||||||
chan->ipo->id.us--;
|
|
||||||
BLI_freelinkN (&act->chanbase, chan);
|
BLI_freelinkN (&act->chanbase, chan);
|
||||||
}
|
}
|
||||||
else if(ipo->blocktype==IPO_CO) ((Object *)from)->activecon->ipo= 0;
|
else if(ipo->blocktype==IPO_CO) ((Object *)from)->activecon->ipo= 0;
|
||||||
|
Reference in New Issue
Block a user