Fix crash accessing mesh.point_normals default

This memory needs to be static,
in this case the argument isn't needed so remove it.
This commit is contained in:
Campbell Barton 2018-11-26 16:26:47 +11:00
parent 10bded145d
commit aa2079bad3
1 changed files with 1 additions and 1 deletions

View File

@ -7554,7 +7554,7 @@ void MESH_OT_point_normals(struct wmOperatorType *ot)
RNA_def_boolean(ot->srna, "align", false, "Align", "Make all affected normals parallel");
RNA_def_float_vector(ot->srna, "target_location", 3, (float[3]){0.0f, 0.0f, 0.0f}, -FLT_MAX, FLT_MAX,
RNA_def_float_vector(ot->srna, "target_location", 3, NULL, -FLT_MAX, FLT_MAX,
"Target", "Target location to which normals will point", -1000.0f, 1000.0f);
RNA_def_boolean(ot->srna, "spherize", false,