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>2013-04-11 14:17:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-11 14:17:06 +0400
commit94c9010e245a464012d2c0dcc14b6a7891565e58 (patch)
tree72eb6015a2ad7c7dbb7a40a9479175d18bbdfafa /source/blender/editors/include/ED_transform.h
parent2c6a82dd0a9178efcaee0c3f8bbf3e5120a3dcaa (diff)
make scene.ray_cast() behave like object.ray_cast(), add distance arg to snapObjectsRayEx().
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r--source/blender/editors/include/ED_transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h
index 5fe44aa17f7..824d1db432f 100644
--- a/source/blender/editors/include/ED_transform.h
+++ b/source/blender/editors/include/ED_transform.h
@@ -187,7 +187,7 @@ bool snapObjectsContext(struct bContext *C, const float mval[2], float *r_dist_p
bool snapObjectsEx(struct Scene *scene, struct Base *base_act, struct View3D *v3d, struct ARegion *ar, struct Object *obedit, short snap_mode,
const float mval[2], float *r_dist_px, float r_loc[3], float r_no[3], SnapMode mode);
bool snapObjectsRayEx(struct Scene *scene, struct Base *base_act, struct View3D *v3d, struct ARegion *ar, struct Object *obedit, short snap_mode,
- const float ray_start[3], const float ray_normal[3],
+ const float ray_start[3], const float ray_normal[3], const float ray_dist,
const float mval[2], float *r_dist_px, float r_loc[3], float r_no[3], SnapMode mode);
bool snapNodesTransform(struct TransInfo *t, const int mval[2], float *r_dist_px, float r_loc[2], char *r_node_border, SnapMode mode);