Commit: c8f3e4cc6c055a80561f9a64b7ce164698fca3a3 Author: YimingWu Date: Thu Jun 25 17:29:27 2020 +0800 Branches: lanpr-under-gp https://developer.blender.org/rBc8f3e4cc6c055a80561f9a64b7ce164698fca3a3
LANPR: Use only (0,1) for crease threshold. =================================================================== M source/blender/makesrna/intern/rna_scene.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index bf5f99a3b3a..b48e83aa8bc 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -7406,7 +7406,7 @@ static void rna_def_scene_lanpr(BlenderRNA *brna) prop = RNA_def_property(srna, "crease_threshold", PROP_FLOAT, PROP_NONE); RNA_def_property_float_default(prop, 0.5f); RNA_def_property_ui_text(prop, "Crease Threshold", "cosine value of face angle"); - RNA_def_property_ui_range(prop, -1.0f, 1.0f, 0.01f, 2); + RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01f, 2); RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_update(prop, NC_SCENE, NULL); _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
