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:
authorCampbell Barton <ideasman42@gmail.com>2018-05-06 16:56:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-06 16:56:09 +0300
commit84474b0171eba502cbde345ce44707ba6dde7203 (patch)
treeb6f229d519657d20508bf10ab053083c3bc6d4aa /source/blender/editors/transform/transform_snap.c
parent632f2b5c18310760f61f7a998ff972cde0ac49d6 (diff)
Object Snap: add object & matrix to view ray cast
Some snap functions already exposed this.
Diffstat (limited to 'source/blender/editors/transform/transform_snap.c')
-rw-r--r--source/blender/editors/transform/transform_snap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index 5750224de3d..660a3748191 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -1217,7 +1217,8 @@ bool snapObjectsTransform(
.use_object_edit_cage = (t->flag & T_EDIT) != 0,
},
mval, dist_px, NULL,
- r_loc, r_no, NULL);
+ r_loc, r_no, NULL,
+ NULL, NULL);
}