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

Ton Roosendaal ton at blender.org
Sat Jul 8 13:56:42 CEST 2006


ton (Ton Roosendaal) 2006/07/08 13:56:42 CEST

  Modified files:
    blender/source/blender/src transform_numinput.c 
  
  Log:
  Bug fix #4627
  
  The transform number input code allowed to keep typing forever. That's nice
  but the code uses floats to store values, so there's a limit of 7 digits
  resolution to take care of. I've added this limit now, it will stop when
  the 8th digit was typed, giving a range of 100 million, quite OK for
  Blender measures.
  
  There was also a short in use for values between 0 and 1, causing an error
  when you try to type like 0.99999. Here I've added a limit of 7 digits.
  
  Revision  Changes    Path
  1.13      +16 -7     blender/source/blender/src/transform_numinput.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_numinput.c.diff?r1=1.12&r2=1.13&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list