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:
Diffstat (limited to 'source/blender/editors/curves/intern/curves_ops.cc')
-rw-r--r--source/blender/editors/curves/intern/curves_ops.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/curves/intern/curves_ops.cc b/source/blender/editors/curves/intern/curves_ops.cc
index f52e11276e9..eb3e40f9f76 100644
--- a/source/blender/editors/curves/intern/curves_ops.cc
+++ b/source/blender/editors/curves/intern/curves_ops.cc
@@ -714,13 +714,13 @@ static void CURVES_OT_snap_curves_to_surface(wmOperatorType *ot)
ot->flag = OPTYPE_UNDO | OPTYPE_REGISTER;
static const EnumPropertyItem attach_mode_items[] = {
- {static_cast<int>(AttachMode::Nearest),
+ {int(AttachMode::Nearest),
"NEAREST",
0,
"Nearest",
"Find the closest point on the surface for the root point of every curve and move the root "
"there"},
- {static_cast<int>(AttachMode::Deform),
+ {int(AttachMode::Deform),
"DEFORM",
0,
"Deform",
@@ -732,7 +732,7 @@ static void CURVES_OT_snap_curves_to_surface(wmOperatorType *ot)
RNA_def_enum(ot->srna,
"attach_mode",
attach_mode_items,
- static_cast<int>(AttachMode::Nearest),
+ int(AttachMode::Nearest),
"Attach Mode",
"How to find the point on the surface to attach to");
}