Partial fix for [#20166] Snap to grid issues
authorMartin Poirier <theeth@yahoo.com>
Sun, 27 Dec 2009 18:09:17 +0000 (18:09 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sun, 27 Dec 2009 18:09:17 +0000 (18:09 +0000)
commit280a1d09f6cafa5bd9b117b5b39bf90b2d21bdf0
tree80c723f366b6d67646ab700460008422e1ffe71d
parentd1f1583c7979369d3fcc91ff25aea1b8152dcce7
Partial fix for [#20166] Snap to grid issues

Move gridview (the actual drawn grid size, including adaptation to zoom) to RegionView3D from View3D.

This solves the transform increment bug but not the Snap Menu bug (context is not set to the correct rv3d when executing operator from menu).
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_snap.c
source/blender/editors/transform/transform.c
source/blender/makesdna/DNA_view3d_types.h