[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24556] trunk/blender/source/blender/ makesrna/intern/rna_object.c: * Compile fix.

Thomas Dinges dingto at gmx.de
Sat Nov 14 09:50:05 CET 2009


Revision: 24556
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24556
Author:   dingto
Date:     2009-11-14 09:50:02 +0100 (Sat, 14 Nov 2009)

Log Message:
-----------
* Compile fix. prop was declared in the middle of scope. 

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_object.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c	2009-11-14 02:50:45 UTC (rev 24555)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c	2009-11-14 08:50:02 UTC (rev 24556)
@@ -1182,7 +1182,7 @@
 static void rna_def_object_constraints(BlenderRNA *brna, PropertyRNA *cprop)
 {
 	StructRNA *srna;
-//	PropertyRNA *prop;
+	PropertyRNA *prop;
 
 	FunctionRNA *func;
 	PropertyRNA *parm;
@@ -1195,7 +1195,7 @@
 
 
 	/* Collection active property */
-	PropertyRNA *prop= RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
+	prop= RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
 	RNA_def_property_struct_type(prop, "Constraint");
 	RNA_def_property_pointer_funcs(prop, "rna_Object_active_constraint_get", "rna_Object_active_constraint_set", NULL);
 	RNA_def_property_flag(prop, PROP_EDITABLE);





More information about the Bf-blender-cvs mailing list