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:
authorAntony Riakiotakis <kalast@gmail.com>2014-08-08 21:35:09 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-08 21:35:09 +0400
commitee8dafe462312c4777ecce6f42be10ba908da4f8 (patch)
tree0a7d01927b008aabdc9ea3725b814dec877bc742 /source/blender/editors/transform
parent31d2ac14ae074bdcbb91916e4475c0ec592f7ed7 (diff)
Fix crash on edit mode with multi-align project
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index 307f30f3bc7..abef2c9fc30 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -338,7 +338,7 @@ void applyProject(TransInfo *t)
add_v3_v3(td->loc, tvec);
- if (t->tsnap.align) {
+ if (t->tsnap.align && (t->flag & T_OBJECT)) {
/* handle alignment as well */
const float *original_normal;
float axis[3];