=IDProperties bugfix=
Misspelled __members__ __member__ in IDProperty's getattr function; this made "print dir(prop)" not work. Eventually I need to replace the whole thing with getsetters. Still need to find out why "print type(a_property)" crashes blender. :S
This commit is contained in:
@@ -84,7 +84,7 @@ PyObject *BPy_IDProperty_getattr(BPy_IDProperty *self, char *name)
|
||||
//} else if (BSTR_EQ(name, "object")) {
|
||||
/*hrm the idea is here is to return the wrapped ID object. how the hell
|
||||
do I do that? eek! */
|
||||
} else if (BSTR_EQ(name, "__member__"))
|
||||
} else if (BSTR_EQ(name, "__members__"))
|
||||
return Py_BuildValue("[s, s, s]", "data", "name", "type");
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user