allow rna to set vertex parent indices, blender checks for invalid values on access.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 21 Jun 2011 07:41:49 +0000 (07:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 21 Jun 2011 07:41:49 +0000 (07:41 +0000)
build blenderplayer by default on linux with scons.

build_files/scons/config/linux2-config.py
source/blender/makesrna/intern/rna_object.c

index bc2917055fb68104f07fedfebc06eb9ade5a4d2c..328cd4cdb288fd55e3b1bfdd7ec25de63ed09c12 100644 (file)
@@ -93,7 +93,7 @@ BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
 #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'
index 8ee8652e2e590ab623553bd21714925ef4677307..8000427cb21ed376996f8077001fc87cbc69c490 100644 (file)
@@ -1826,7 +1826,6 @@ static void rna_def_object(BlenderRNA *brna)
        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");