=IDProperties small update=

This update changes Object.properties to Object.game_properties 
(as discussed) so .properties can be used for ID Properties.

This should be fine as, after all, .properties was undocumented anyway :)
This commit is contained in:
2006-11-28 04:34:26 +00:00
parent a314527e20
commit 008d789f15
2 changed files with 5 additions and 5 deletions

View File

@@ -4811,7 +4811,7 @@ static PyGetSetDef BPy_Object_getseters[] = {
(getter)Object_getAction, (setter)NULL,
"The action associated with this object (if defined)",
NULL},
{"properties",
{"game_properties",
(getter)Object_getAllProperties, (setter)NULL,
"The object's properties",
NULL},
@@ -5042,7 +5042,7 @@ static PyGetSetDef BPy_Object_getseters[] = {
(getter)Object_getType, (setter)NULL,
"String describing Object type",
NULL},
{"idproperties", (getter)Object_GetProperties, (setter)NULL,
{"properties", (getter)Object_GetProperties, (setter)NULL,
"Get the ID properties associated with this object"},
{NULL,NULL,NULL,NULL,NULL} /* Sentinel */
};