forked from bartvdbraak/blender
Fix segfault on makesrna.
Call to RNA_def_property_update with a invalid pointer cause a segfault.
This commit is contained in:
parent
ee92957b36
commit
e0f5764e4c
@ -214,7 +214,6 @@ static void rna_def_beztriple(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "BezierCurvePoint", NULL);
|
||||
RNA_def_struct_sdna(srna, "BezTriple");
|
||||
RNA_def_struct_ui_text(srna, "Bezier Curve Point", "Bezier curve point with two handles.");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update");
|
||||
|
||||
/* Boolean values */
|
||||
prop= RNA_def_property(srna, "selected_handle1", PROP_BOOLEAN, PROP_NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user