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:
Chris Want
2003-02-14 15:29:24 +00:00
parent 877a4859d6
commit 5cc0dcc970

View File

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