[Bf-blender-cvs] CVS commit: blender/source/blender/src editarmature.c

Ton Roosendaal ton at blender.org
Tue Apr 11 11:52:00 CEST 2006


ton (Ton Roosendaal) 2006/04/11 11:52:00 CEST

  Modified files:
    blender/source/blender/src editarmature.c 
  
  Log:
  #bugfix #3659
  
  Zero-sized bones in an Armature didn't result in a stable rest position.
  This caused bones to rotate to random positions on each editmode exit.
  
  This commit will automatically remove such bones on exit editmode now, and
  adds a warning print for it. I've tried to code exception handling for
  zero-sized bones, but this is just too hard to get stable. Better to define
  by default that Bones always should have a length.
  
  Typically zero-sized bones only get added by accident, for example while
  ctrl+clicking new bones.
  
  Revision  Changes    Path
  1.106     +20 -3     blender/source/blender/src/editarmature.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editarmature.c.diff?r1=1.105&r2=1.106&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list