small update to getAttr method
This commit is contained in:
@@ -908,9 +908,7 @@ static PyObject *Scene_GetAttr (BPy_Scene *self, char *name)
|
|||||||
attr = PyString_FromString(self->scene->id.name+2);
|
attr = PyString_FromString(self->scene->id.name+2);
|
||||||
|
|
||||||
else if (strcmp(name, "__members__") == 0) {
|
else if (strcmp(name, "__members__") == 0) {
|
||||||
attr = Py_BuildValue("[s,s,s,s,s,s,s,s,s]",
|
attr = Py_BuildValue("[s]", "name");
|
||||||
"name", "type", "mode", "lens", "clipStart",
|
|
||||||
"clipEnd", "drawSize", "Types", "Modes");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!attr)
|
if (!attr)
|
||||||
|
Reference in New Issue
Block a user