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:
parent
10bded145d
commit
aa2079bad3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue