diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-13 01:31:55 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-13 01:31:55 +0400 |
commit | 482a8a58804d340e0d447161f8160eaf1fb95bbd (patch) | |
tree | b21aff07cc5c56f15ffd62bbaef116d0c0b1498e | |
parent | 65237d29362a76cfd3d109123f4dab5e15af2d9c (diff) |
forgotten to remove the calls to removed functions...
-rw-r--r-- | source/blender/python/api2_2x/World.c | 10 | ||||
-rw-r--r-- | source/blender/python/api2_2x/World.h | 36 |
2 files changed, 0 insertions, 46 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c index 6e0098da2d7..5365969ed0d 100644 --- a/source/blender/python/api2_2x/World.c +++ b/source/blender/python/api2_2x/World.c @@ -580,18 +580,13 @@ static PyObject *World_GetAttr (BPy_World *self, char *name) { if (strcmp (name, "name") == 0)return World_getName (self); -if (strcmp (name, "colormodel") == 0)return World_getColormodel (self); -if (strcmp (name, "fastcol") == 0)return World_getFastcol (self); if (strcmp (name, "skytype") == 0)return World_getSkytype (self); if (strcmp (name, "mode") == 0)return World_getMode (self); -if (strcmp (name, "totex") == 0)return World_getTotex (self); -if (strcmp (name, "texact") == 0)return World_getTexact (self); if (strcmp (name, "mistype") == 0)return World_getMistype (self); if (strcmp (name, "hor") == 0)return World_getHor (self); if (strcmp (name, "zen") == 0)return World_getZen (self); if (strcmp (name, "amb") == 0)return World_getAmb (self); if (strcmp (name, "star") == 0)return World_getStar (self); -if (strcmp (name, "dof") == 0)return World_getDof (self); if (strcmp (name, "mist") == 0)return World_getMist (self); return Py_FindMethod(BPy_World_methods, (PyObject *)self, name); } @@ -611,18 +606,13 @@ static int World_SetAttr (BPy_World *self, char *name, PyObject *value) return EXPP_ReturnIntError(PyExc_MemoryError, "WorldSetAttr: couldn't parse args"); if (strcmp (name, "name") == 0) World_setName (self,valtuple); -if (strcmp (name, "colormodel") == 0) World_setColormodel (self,valtuple); -if (strcmp (name, "fastcol") == 0) World_setFastcol (self,valtuple); if (strcmp (name, "skytype") == 0) World_setSkytype (self,valtuple); if (strcmp (name, "mode") == 0) World_setMode (self,valtuple); -if (strcmp (name, "totex") == 0) World_setTotex (self,valtuple); -if (strcmp (name, "texact") == 0) World_setTexact (self,valtuple); if (strcmp (name, "mistype") == 0) World_setMistype (self,valtuple); if (strcmp (name, "hor") == 0) World_setHor (self,valtuple); if (strcmp (name, "zen") == 0) World_setZen (self,valtuple); if (strcmp (name, "amb") == 0) World_setAmb (self,valtuple); if (strcmp (name, "star") == 0) World_setStar (self,valtuple); -if (strcmp (name, "dof") == 0) World_setDof (self,valtuple); if (strcmp (name, "mist") == 0) World_setMist (self,valtuple); return 0; /* normal exit */ } diff --git a/source/blender/python/api2_2x/World.h b/source/blender/python/api2_2x/World.h index 6e5c16f5f14..f6c74fc5626 100644 --- a/source/blender/python/api2_2x/World.h +++ b/source/blender/python/api2_2x/World.h @@ -81,18 +81,8 @@ struct PyMethodDef M_World_methods[] = { /*****************************************************************************/ static PyObject *World_getName(BPy_World *self); static PyObject *World_setName(BPy_World *self, PyObject *args); -static PyObject *World_getColormodel(BPy_World *self); -static PyObject *World_setColormodel(BPy_World *self, PyObject *args ); -static PyObject *World_getFastcol(BPy_World *self); -static PyObject *World_setFastcol(BPy_World *self, PyObject *args ); static PyObject *World_getSkytype(BPy_World *self); static PyObject *World_setSkytype(BPy_World *self, PyObject *args ); -static PyObject *World_getMode(BPy_World *self); -static PyObject *World_setMode(BPy_World *self, PyObject *args ); -static PyObject *World_getTotex(BPy_World *self); -static PyObject *World_setTotex(BPy_World *self, PyObject *args ); -static PyObject *World_getTexact(BPy_World *self); -static PyObject *World_setTexact(BPy_World *self, PyObject *args ); static PyObject *World_getMistype(BPy_World *self); static PyObject *World_setMistype(BPy_World *self, PyObject *args ); static PyObject *World_getHor(BPy_World *self); @@ -103,8 +93,6 @@ static PyObject *World_getAmb(BPy_World *self); static PyObject *World_setAmb(BPy_World *self, PyObject *args ); static PyObject *World_getStar(BPy_World *self); static PyObject *World_setStar(BPy_World *self, PyObject *args ); -static PyObject *World_getDof(BPy_World *self); -static PyObject *World_setDof(BPy_World *self, PyObject *args ); static PyObject *World_getMist(BPy_World *self); static PyObject *World_setMist(BPy_World *self, PyObject *args ); @@ -116,30 +104,10 @@ static PyMethodDef BPy_World_methods[] = { "() - Return World Data name"}, {"setName", (PyCFunction)World_setName, METH_VARARGS, "() - Return World Data name"}, - {"getColormodel", (PyCFunction)World_getColormodel, METH_NOARGS, - "() - Return World Data colormodel"}, - {"setColormodel", (PyCFunction)World_setColormodel, METH_VARARGS, - "() - Return World Data colormodel"}, - {"getFastcol", (PyCFunction)World_getFastcol, METH_NOARGS, - "() - Return World Data fastcol"}, - {"setFastcol", (PyCFunction)World_setFastcol, METH_VARARGS, - "() - Return World Data fastcol"}, {"getSkytype", (PyCFunction)World_getSkytype, METH_NOARGS, "() - Return World Data skytype"}, {"setSkytype", (PyCFunction)World_setSkytype, METH_VARARGS, "() - Return World Data skytype"}, - {"getMode", (PyCFunction)World_getMode, METH_NOARGS, - "() - Return World Data mode"}, - {"setMode", (PyCFunction)World_setMode, METH_VARARGS, - "() - Return World Data mode"}, - {"getTotex", (PyCFunction)World_getTotex, METH_NOARGS, - "() - Return World Data totex"}, - {"setTotex", (PyCFunction)World_setTotex, METH_VARARGS, - "() - Return World Data totex"}, - {"getTexact", (PyCFunction)World_getTexact, METH_NOARGS, - "() - Return World Data texact"}, - {"setTexact", (PyCFunction)World_setTexact, METH_VARARGS, - "() - Return World Data texact"}, {"getMistype", (PyCFunction)World_getMistype, METH_NOARGS, "() - Return World Data mistype"}, {"setMistype", (PyCFunction)World_setMistype, METH_VARARGS, @@ -160,10 +128,6 @@ static PyMethodDef BPy_World_methods[] = { "() - Return World Data star"}, {"setStar", (PyCFunction)World_setStar, METH_VARARGS, "() - Return World Data star"}, - {"getDof", (PyCFunction)World_getDof, METH_NOARGS, - "() - Return World Data dof"}, - {"setDof", (PyCFunction)World_setDof, METH_VARARGS, - "() - Return World Data dof"}, {"getMist", (PyCFunction)World_getMist, METH_NOARGS, "() - Return World Data mist"}, {"setMist", (PyCFunction)World_setMist, METH_VARARGS, |