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:
authorCampbell Barton <ideasman42@gmail.com>2015-04-26 12:19:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-26 12:20:34 +0300
commit2374cb380b83ce97db5545eb0c4f3ccd51e87d9c (patch)
tree419138af6a408cffea22475b7b23564af94de18f /source/blender/editors/mesh/editmesh_loopcut.c
parente1ca127419fce5a717215d39ecfc6fdb040bbc84 (diff)
BMesh: subdiv smooth, use simpler even calculation
Was checking all vertices adjacent faces, now just compare the difference between normal angles. Also default to inverse-square for loopcut-subdiv falloff.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index 3d93210382c..a4ea2ab3921 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -835,7 +835,7 @@ void MESH_OT_loopcut(wmOperatorType *ot)
prop = RNA_def_property(ot->srna, "falloff", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, proportional_falloff_curve_only_items);
- RNA_def_property_enum_default(prop, PROP_ROOT);
+ RNA_def_property_enum_default(prop, PROP_INVSQUARE);
RNA_def_property_ui_text(prop, "Falloff", "Falloff type the feather");
RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_CURVE); /* Abusing id_curve :/ */