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:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-03-09 16:02:11 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-03-09 16:02:11 +0300
commita922a097ef5c453bf4bc515494a3ab5f402946e2 (patch)
tree892f229d05ed6e88afc7d107bf58147f6031dd16 /source/blender/editors/transform/transform_snap.h
parent3a10c61a7d088712e66ae6cc775f8260dc91518b (diff)
Transform Snap Object: Remove depsgraph when creating context
Currently, this change does not bring functional changes. But it is necessary to extend the use of the snap system for gizmos, since, after a Undo, the `depsgraph` pointed by the `snap_context` has its memory invalidated. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7013
Diffstat (limited to 'source/blender/editors/transform/transform_snap.h')
-rw-r--r--source/blender/editors/transform/transform_snap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/transform/transform_snap.h b/source/blender/editors/transform/transform_snap.h
index a188e2eb829..c088cf80f0d 100644
--- a/source/blender/editors/transform/transform_snap.h
+++ b/source/blender/editors/transform/transform_snap.h
@@ -35,14 +35,6 @@ bool peelObjectsTransform(struct TransInfo *t,
float r_loc[3],
float r_no[3],
float *r_thickness);
-bool peelObjectsSnapContext(struct SnapObjectContext *sctx,
- const float mval[2],
- const struct SnapObjectParams *params,
- const bool use_peel_object,
- /* return args */
- float r_loc[3],
- float r_no[3],
- float *r_thickness);
short snapObjectsTransform(struct TransInfo *t,
const float mval[2],