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-12-04 18:22:50 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-12-04 18:31:30 +0300
commitb9195116075420b09969eacd4ba91c4cce7b7b5c (patch)
tree2a9a67fdbf1262e436bb339c63dc48be51095eee /source/blender/editors/transform/transform_constraints.c
parentfe1f05de1b77798650b91c4e5f8c2b02c3276b18 (diff)
Cleanup: Deduplicate constraint event code
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 5e2a8be8db0..54533bf43e5 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -1127,16 +1127,6 @@ int constraintModeToIndex(const TransInfo *t)
}
}
-char constraintModeToChar(const TransInfo *t)
-{
- int index = constraintModeToIndex(t);
- if (index == -1) {
- return '\0';
- }
- BLI_assert((uint)index < 3);
- return 'X' + index;
-}
-
bool isLockConstraint(TransInfo *t)
{
int mode = t->con.mode;