[tuhopuu-cvs] CVS commit: tuhopuu2 featurelist.txt tuhopuu2/source/blender/src editobject.c

Martin Poirier theeth at yahoo.com
Sun Aug 24 00:10:09 CEST 2003


theeth (Martin Poirier) 2003/08/24 00:10:09 CEST

  Modified files:
    .                    featurelist.txt 
    tuhopuu2/source/blender/src editobject.c 
  
  Log:
  Global and Local axis restriction for transformations mode (Grab and Scale mostly) to make them work like Rotate (as in, pressing X, Y, Z once for global, twice for local. Will be adding mova along normal for vertice soon).
  
  Support for axis restriction argument in the transform function. Additional argument as included like this
  
  Transform('g'*'X')
  
  By multiplying the transformation ('g', 'r', 's') by the axis ('X', 'Y, 'Z'. Captital letters for global axis, small letters for local axis).
  
  The function than sort throught those and assign the correct value to the mode and axismode variable (previously called rotmode, but this is more relevant now).
  
  I also changed the constants to fit a more general purpose (XTRANS insteand of XROT for example).
  
  Revision  Changes    Path
  1.8       +9 -0      tuhopuu2/featurelist.txt
  1.4       +195 -54   tuhopuu2/source/blender/src/editobject.c



More information about the tuhopuu-cvs mailing list