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

Martin Poirier theeth at yahoo.com
Tue Oct 21 19:01:10 CEST 2003


theeth (Martin Poirier) 2003/10/21 19:01:10 CEST

  Modified files:
    blender/source/blender/src editobject.c 
  
  Log:
  Axis constraint in transform for grab mode
  Axis constraint in size mode
  
  note: the original behavior when constraining with middle mouse in object mode is weird. I've leave it that way, but I think it would be a good time to fix it. Another thing: in object mode, you can only constrain size to local axis. Global axis would involve either screwing the matrix (which stinks) or modifying the vert coords directly (which is a no no)
  
  Please also note that this breaks the mirroring combo.
  I'll be commiting my edit mode mirror function soon to fix that.
  
  Coder note:
  
  You can now call the transform function with an additional parameter to constraint to an axis.
  example:
  
  transform('g'*'X')
  transform('s'*'y')
  transform('r'*'z')
  
  Capital axis letter for global axis, lower case for local axis
  
  Revision  Changes    Path
  1.24      +72 -21    blender/source/blender/src/editobject.c



More information about the Bf-blender-cvs mailing list