Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Borghetti <bdiego@gmail.com>2009-08-03 22:44:01 +0400
committerDiego Borghetti <bdiego@gmail.com>2009-08-03 22:44:01 +0400
commite0f5764e4c37e5a120b307153ca6a78e35bb6632 (patch)
tree2883c11bf0ccd26b828e6e4571b2c84a10392795
parentee92957b363950f49a562632d42494cb35f0e8ed (diff)
Fix segfault on makesrna.
Call to RNA_def_property_update with a invalid pointer cause a segfault.
-rw-r--r--source/blender/makesrna/intern/rna_curve.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index dd7fc2b6f82..92b4dead516 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -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);