+ simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python

This commit is contained in:
wmayer 2014-07-11 19:34:14 +02:00
parent 750a04d400
commit 3cfab20586

View File

@ -151,7 +151,7 @@ PyObject* MeshPy::write(PyObject *args)
char* Ext=0;
char* ObjName=0;
PyObject* List=0;
if (!PyArg_ParseTuple(args, "s|ss",&Name,&Ext,&ObjName,&PyList_Type,&List))
if (!PyArg_ParseTuple(args, "s|ssO!",&Name,&Ext,&ObjName,&PyList_Type,&List))
return NULL;
MeshCore::MeshIO::Format format = MeshCore::MeshIO::Undefined;