[tuhopuu-cvs] CVS commit: blender/source/blender/src headerbuttons.c

Chris Want cwant at ualberta.ca
Fri Feb 14 00:31:37 CET 2003


hos (Chris Want) 2003/02/14 00:31:37 CET

  Modified files:
    blender/source/blender/src headerbuttons.c 
  
  Log:
  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
  segfault).
  
  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
  problem.
  
  Revision  Changes    Path
  1.21      +8 -2      blender/source/blender/src/headerbuttons.c



More information about the tuhopuu-cvs mailing list