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:
authormano-wii <germano.costa@ig.com.br>2017-07-11 19:47:28 +0300
committermano-wii <germano.costa@ig.com.br>2017-07-11 19:47:28 +0300
commitdd1edb0954b5441255b5a3616841228f466e448e (patch)
treeda0948e2fae14b5e0f5cd2f584ed311081b0425d /source/blender/editors/include/ED_transform_snap_object_context.h
parent32edfd53d978b34c9eb528e705f29e3feb673d37 (diff)
Snap System: Separate raycast functions from nearest2d functions
The only similarity between these functions is that both serve to snap. However their codes are totally different from one another. So by separating these functions, it: - removes the need to put several conditions; - simplifies and - optimizes the code
Diffstat (limited to 'source/blender/editors/include/ED_transform_snap_object_context.h')
-rw-r--r--source/blender/editors/include/ED_transform_snap_object_context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_transform_snap_object_context.h b/source/blender/editors/include/ED_transform_snap_object_context.h
index 6eaae49912c..8066adf55ce 100644
--- a/source/blender/editors/include/ED_transform_snap_object_context.h
+++ b/source/blender/editors/include/ED_transform_snap_object_context.h
@@ -84,7 +84,6 @@ void ED_transform_snap_object_context_set_editmesh_callbacks(
bool ED_transform_snap_object_project_ray_ex(
struct SnapObjectContext *sctx,
- const unsigned short snap_to,
const struct SnapObjectParams *params,
const float ray_start[3], const float ray_normal[3], float *ray_depth,
/* return args */
@@ -98,7 +97,6 @@ bool ED_transform_snap_object_project_ray(
bool ED_transform_snap_object_project_ray_all(
SnapObjectContext *sctx,
- const unsigned short snap_to,
const struct SnapObjectParams *params,
const float ray_start[3], const float ray_normal[3],
float ray_depth, bool sort,