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;
|
||||
bActionChannel *chan =
|
||||
get_hilighted_action_channel((bAction*)from);
|
||||
chan->ipo->id.us--;
|
||||
BLI_freelinkN (&act->chanbase, chan);
|
||||
}
|
||||
else if(ipo->blocktype==IPO_CO) ((Object *)from)->activecon->ipo= 0;
|
||||
|
Reference in New Issue
Block a user