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>2022-03-28 17:26:48 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-03-28 17:37:47 +0300
commitc33870ab14c305d3bb4e2bac6d664f6e83a94653 (patch)
tree966b6a07e1d614acc5ce3a21de1fef3e0a2e536c /source/blender/editors/include/ED_transform_snap_object_context.h
parentbac78e9bbe1fa4ab13c0fc07b35e431dfb551610 (diff)
Fix T96812: Regression: Snapping is broken with proportional editing
This was a mistake in the conditional structure introduced in 4b35d6950d4f This commit also adds a new type of snap exclusion: `SNAP_NOT_EDITED`. Thanks to @Ethan1080 for pointing out the error.
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.h5
1 files changed, 3 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 fd65d8f3663..bd96dd3930e 100644
--- a/source/blender/editors/include/ED_transform_snap_object_context.h
+++ b/source/blender/editors/include/ED_transform_snap_object_context.h
@@ -43,8 +43,9 @@ typedef enum {
SNAP_ALL = 0,
SNAP_NOT_SELECTED = 1,
SNAP_NOT_ACTIVE = 2,
- SNAP_ONLY_ACTIVE = 3,
- SNAP_SELECTABLE = 4,
+ SNAP_NOT_EDITED = 3,
+ SNAP_ONLY_ACTIVE = 4,
+ SNAP_SELECTABLE = 5,
} eSnapSelect;
typedef enum {