== BPython API ==

Fixing mistake in Blender_ShowHelp() function: argument to Blender_Run() should be passed directly as a string, not encapsulated in a tuple (aka "s", not "(s)").
This commit is contained in:
2008-02-13 20:42:36 +00:00
parent 7109955904
commit b58274abef

View File

@@ -795,7 +795,7 @@ static PyObject *Blender_ShowHelp(PyObject *self, PyObject *script)
EXPP_dict_set_item_str(bpy_registryDict, "__help_browser", rkeyd);
arglist = Py_BuildValue("(s)", hspath);
arglist = Py_BuildValue("s", hspath);
Blender_Run(self, arglist);
Py_DECREF(arglist);