[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37691] trunk/blender: allow rna to set vertex parent indices, blender checks for invalid values on access.

Campbell Barton ideasman42 at gmail.com
Tue Jun 21 09:41:50 CEST 2011


Revision: 37691
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37691
Author:   campbellbarton
Date:     2011-06-21 07:41:49 +0000 (Tue, 21 Jun 2011)
Log Message:
-----------
allow rna to set vertex parent indices, blender checks for invalid values on access.
build blenderplayer by default on linux with scons.

Modified Paths:
--------------
    trunk/blender/build_files/scons/config/linux2-config.py
    trunk/blender/source/blender/makesrna/intern/rna_object.c

Modified: trunk/blender/build_files/scons/config/linux2-config.py
===================================================================
--- trunk/blender/build_files/scons/config/linux2-config.py	2011-06-21 06:41:06 UTC (rev 37690)
+++ trunk/blender/build_files/scons/config/linux2-config.py	2011-06-21 07:41:49 UTC (rev 37691)
@@ -93,7 +93,7 @@
 #BF_GETTEXT_LIB_STATIC = '${BF_GETTEXT}/lib/libgettextlib.a'
 
 WITH_BF_GAMEENGINE = True
-WITH_BF_PLAYER = False
+WITH_BF_PLAYER = True
 
 WITH_BF_BULLET = True
 BF_BULLET = '#extern/bullet2/src'

Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-06-21 06:41:06 UTC (rev 37690)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c	2011-06-21 07:41:49 UTC (rev 37691)
@@ -1826,7 +1826,6 @@
 	prop= RNA_def_property(srna, "parent_vertices", PROP_INT, PROP_UNSIGNED);
 	RNA_def_property_int_sdna(prop, NULL, "par1");
 	RNA_def_property_array(prop, 3);
-	RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 	RNA_def_property_ui_text(prop, "Parent Vertices", "Indices of vertices in cases of a vertex parenting relation");
 	RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, "rna_Object_internal_update");
 




More information about the Bf-blender-cvs mailing list