Added "bpydoc" to the global namespace of python scripts, making documentation available no matter what data is open in the current blend file, Directory type was also missing from the subtype enum causing the test rna-dump script to fail.
This commit is contained in:
@@ -25,6 +25,9 @@ static PyObject *CreateGlobalDictionary( void )
|
||||
PyDict_SetItemString( dict, "bpy", item );
|
||||
Py_DECREF(item);
|
||||
|
||||
item = BPY_rna_doc();
|
||||
PyDict_SetItemString( dict, "bpydoc", item );
|
||||
Py_DECREF(item);
|
||||
|
||||
return dict;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user