Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-01-14 01:20:18 +0300
committerMartin Poirier <theeth@yahoo.com>2008-01-14 01:20:18 +0300
commite4e66c9aa429dde5b38985f54af9e1336c4b6fa0 (patch)
tree3feb5f5fd38e56eeb6c875b3d9f88cdf37f560ef /source/blender/include/BIF_transform.h
parentd660e293650d88e00009ad315fb00ade71239621 (diff)
=== Transform Snap ===
Snapping for object mode Changes: - Transform snap now working in object mode and not just mesh edit mode - Shift-Tab can be used to toggle snap on/off inside transform too (no more Esc,toggle,restart) - Object mode snap: Closest uses the bounding box corners of all selected objects, Median uses object center and Center uses transform center (same as edit mode). - Object mode snap: all visible meshes can be used to get the snapping point (unlike edit mode snap which is limited to selected mesh: this might be adjusted to make edit mode snap use all visible too). To Do: - Add "Active" snap target method: use active object (or mesh element) as snap target - Add snapping capabilities to Scale - (Maybe) Add "Near pointer" snap target method: use selected element that is closest to mouse pointer as snap target. Active could probably accomplish that already in a less confusing manner, so I might skip this.
Diffstat (limited to 'source/blender/include/BIF_transform.h')
-rw-r--r--source/blender/include/BIF_transform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h
index 98af3b84770..c8e2a4832ab 100644
--- a/source/blender/include/BIF_transform.h
+++ b/source/blender/include/BIF_transform.h
@@ -90,6 +90,8 @@ void BIF_setDualAxisConstraint(float vec1[3], float vec2[3], char *text);
void BIF_setLocalAxisConstraint(char axis, char *text);
void BIF_setLocalLockConstraint(char axis, char *text);
+int BIF_snappingSupported(void);
+
struct TransformOrientation;
void BIF_clearTransformOrientation(void);