[Bf-committers] CVS commit: blender/source/blender/src headerbuttons.c

Chris Want bf-committers@blender.org
Fri, 14 Feb 2003 00:30:55 +0100 (CET)

hos (Chris Want) 2003/02/14 00:30:54 CET

  Modified files:
    blender/source/blender/src headerbuttons.c 
  This modification removes a bone's
  action channel from the cooresponding
  action when the bone's IPO is deleted
  from the IPO window (the old behavior
  was to set the channel's ipo to NULL
  without removing it from the action).
  This is to alleviate the problem that
  there is a lot of action channel code
  that tries to access the channel's ipo
  (chan->ipo) without testing whether
  it is NULL or not (resulting in a
  This seems to be the best way to
  solve this problem ... unless there
  is a reason why it might be useful
  to have an action channel with no
  ipo attached to it?
  Thanks to zel365 for uncovering this
  Revision  Changes    Path
  1.10      +8 -2      blender/source/blender/src/headerbuttons.c