Commit: 71712d828d9490f58ab08e17f0f2d6260de3ef94 Author: Clément Foucault Date: Tue Mar 10 04:47:22 2020 +0100 Branches: master https://developer.blender.org/rB71712d828d9490f58ab08e17f0f2d6260de3ef94
GPencil: Fix RNA range for uv_rotation =================================================================== M source/blender/makesrna/intern/rna_gpencil.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index e828d9d3d95..a4e6f6762b1 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -978,7 +978,7 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna) prop = RNA_def_property(srna, "uv_rotation", PROP_FLOAT, PROP_ANGLE); RNA_def_property_float_sdna(prop, NULL, "uv_rot"); - RNA_def_property_range(prop, 0.0f, M_PI * 2); + RNA_def_property_range(prop, -M_PI_2, M_PI_2); RNA_def_property_ui_text(prop, "UV Rotation", "Internal UV factor for dot mode"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
