[Bf-blender-cvs] CVS commit: blender/source/blender/include BDR_drawobject.h BSE_view.h blender/source/blender/src drawobject.c drawview.c editobject.c view.c

Ton Roosendaal ton at blender.org
Thu Oct 23 18:15:06 CEST 2003


ton (Ton Roosendaal) 2003/10/23 18:15:05 CEST

  Modified files:
    blender/source/blender/include BDR_drawobject.h BSE_view.h 
    blender/source/blender/src drawobject.c drawview.c 
                               editobject.c view.c 
  
  Log:
  Cleaned up new constraint line drawing while grab/rot/scale
  
  - uses callback mechanism to tell main drawing routine what to do
  - for that reason it doesn't use frontbuffer drawing anymore
    and it shows up in all 3d windows as well
  - it uses the same colors as for the grid axes (I tweaked it a bit,
    this is based at themecolors, and also should work in different
    background and grid color)
  - I disabled drawing lines through every object or every vertex.
    The current display method is clear and not distracting
  - when in 'local' transform (double press X/Y/Z), it displays a nice
    axis in the center of transform for vertices.
    In object-mode, local transform differs per object, so constraint lines
    and axes are drawn for each individually...
  
  Also:
  
  - fixed an old bug in rotate transform(). Using a constraint for
    rotation (X, Y, Z) didn't work for multiple objects at all!
  
  Revision  Changes    Path
  1.9       +1 -2      blender/source/blender/include/BDR_drawobject.h
  1.9       +1 -2      blender/source/blender/include/BSE_view.h
  1.31      +1 -35     blender/source/blender/src/drawobject.c
  1.34      +38 -10    blender/source/blender/src/drawview.c
  1.30      +160 -104  blender/source/blender/src/editobject.c
  1.13      +1 -56     blender/source/blender/src/view.c



More information about the Bf-blender-cvs mailing list