formatting edits & remove debug print.
This commit is contained in:
@@ -77,7 +77,7 @@ PyInit_gpu(void)
|
||||
PyObject* m;
|
||||
|
||||
m = PyModule_Create(&gpumodule);
|
||||
if(m == NULL)
|
||||
if (m == NULL)
|
||||
return NULL;
|
||||
|
||||
// device constants
|
||||
@@ -164,7 +164,7 @@ static PyObject* GPU_export_shader(PyObject* UNUSED(self), PyObject *args, PyObj
|
||||
|
||||
static const char *kwlist[] = {"scene", "material", NULL};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args, kwds, "OO:export_shader", (char**)(kwlist), &pyscene, &pymat))
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO:export_shader", (char**)(kwlist), &pyscene, &pymat))
|
||||
return NULL;
|
||||
|
||||
if (!strcmp(Py_TYPE(pyscene)->tp_name, "Scene") &&
|
||||
|
Reference in New Issue
Block a user