- exppython now can import modules contained in Blender Texts:

The Python import function was substituted by our own one (like done
    in the old bpython) to also check Blender Texts upon importing.
This commit is contained in:
2003-07-03 01:42:00 +00:00
parent 1b726ba080
commit dfa7a48407
3 changed files with 91 additions and 3 deletions

View File

@@ -72,8 +72,6 @@ static PyObject *M_Lamp_New(PyObject *self, PyObject *args, PyObject *keywords)
Lamp *bl_lamp; /* for actual Lamp Data we create in Blender */
char buf[21];
printf ("In Lamp_New()\n");
if (!PyArg_ParseTupleAndKeywords(args, keywords, "|ss", kwlist,
&type_str, &name_str))
return (EXPP_ReturnPyObjError (PyExc_AttributeError,