diff options
author | Martin Poirier <theeth@yahoo.com> | 2006-12-20 01:25:07 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2006-12-20 01:25:07 +0300 |
commit | f4a03182fbe1d3960c78e610e1659061f7e39482 (patch) | |
tree | c01c8850ae15571fb8b141c352183746840959d8 /source/blender/include/transform.h | |
parent | 83e3545f9e5d34552bc6813fd208a039ea6da9aa (diff) |
=== Transform Snap ===
Draw a circle around the snapping point for visual aid.
Different snapping target method, switchable in the 3d view header menu in the Transform menu.
* Closest: Snaps the closest vertex to the point
* Median: Snaps the median of the selection to the point
* Center: Snaps the transform center to the point (this is different from median because you can use Cursor/Boundbox as center)
Fix a bug with constraints/snap handling.
Diffstat (limited to 'source/blender/include/transform.h')
-rwxr-xr-x | source/blender/include/transform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/include/transform.h b/source/blender/include/transform.h index 7f12f765bbf..0a6a19a674d 100755 --- a/source/blender/include/transform.h +++ b/source/blender/include/transform.h @@ -251,6 +251,13 @@ typedef struct TransInfo { #define TD_VERSE_VERT 64 #endif +/* transsnap->status */ +#define SNAP_ON 0x1 +#define TARGET_INIT 0x2 +#define POINT_INIT 0x4 + + + void checkFirstTime(void); void setTransformViewMatrices(TransInfo *t); |