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/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/transform.h')
-rw-r--r--source/blender/include/transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/include/transform.h b/source/blender/include/transform.h
index ae8997a28ee..e9e82612721 100644
--- a/source/blender/include/transform.h
+++ b/source/blender/include/transform.h
@@ -122,7 +122,7 @@ typedef struct TransDataExtension {
float iquat[4]; /* Initial rotation quaternion */
float *size; /* Size of the data to transform (Faculative) */
float isize[3]; /* Initial size */
- float obmat[3][3]; /* Object matrix */
+ float obmat[4][4]; /* Object matrix */
} TransDataExtension;
typedef struct TransData2D {