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.
This commit is contained in:
@@ -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 :/ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user