Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-11-30 05:27:46 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2004-11-30 05:27:46 +0300
commit6d9c02be4cfd61b985af789e167f7fa78dbc0868 (patch)
tree1bb8758f454cb90e0659e6122f11ec13b02a7b3f /source/blender/python/api2_2x/Object.c
parente4562134d28af07b6115436fdfaa4523020ea733 (diff)
Scripts:
- Fixes by Jean-Michel Soler: mod_ai2obj.py, mod_svg2obj.py; - Fixes by Campbell Barton: obj_import.py; - Small fix to mod_meshtools.py (fixes bug #1605: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1605&group_id=9); - Updates by Jean-Baptiste (Jiba) to his blender2cal3d.py; - Updates to all his import / export scripts (added doc data) by Anthony D'Agostino; - Update to off_import: support for uv data, by Arne Schmitz. BPython: - Removed Object.get and .getSelected (deprecated long ago, we use .Get and .GetSelected) -- fixes #1861: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1861&group_id=9 - Applied patch by Michael Reimpell: quat.c - fix for wrong initialization with newQuaternionObject; Mathutils documentation improvements. - Stani reported a wrong return msg in IpoCurve.Get (that is unimplemented). Thanks to all coders mentioned above!
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r--source/blender/python/api2_2x/Object.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c
index e9048ffad3a..ec352061268 100644
--- a/source/blender/python/api2_2x/Object.c
+++ b/source/blender/python/api2_2x/Object.c
@@ -57,9 +57,7 @@
/*****************************************************************************/
static PyObject *M_Object_New( PyObject * self, PyObject * args );
PyObject *M_Object_Get( PyObject * self, PyObject * args );
-PyObject *M_Object_get( PyObject * self, PyObject * args );
static PyObject *M_Object_GetSelected( PyObject * self, PyObject * args );
-static PyObject *M_Object_getSelected( PyObject * self, PyObject * args );
/*****************************************************************************/
/* The following string definitions are used for documentation strings. */
@@ -90,12 +88,8 @@ struct PyMethodDef M_Object_methods[] = {
M_Object_New_doc},
{"Get", ( PyCFunction ) M_Object_Get, METH_VARARGS,
M_Object_Get_doc},
- {"get", ( PyCFunction ) M_Object_get, METH_VARARGS,
- M_Object_Get_doc},
{"GetSelected", ( PyCFunction ) M_Object_GetSelected, METH_VARARGS,
M_Object_GetSelected_doc},
- {"getSelected", ( PyCFunction ) M_Object_getSelected, METH_VARARGS,
- M_Object_GetSelected_doc},
{NULL, NULL, 0, NULL}
};
@@ -517,20 +511,8 @@ PyObject *M_Object_Get( PyObject * self, PyObject * args )
}
/*****************************************************************************/
-/* Function: M_Object_get */
-/* Python equivalent: Blender.Object.get */
-/*****************************************************************************/
-PyObject *M_Object_get( PyObject * self, PyObject * args )
-{
- PyErr_Warn( PyExc_DeprecationWarning,
- "The Object.get() function will be removed in Blender 2.29\n"
- "Please update the script to use Object.Get" );
- return ( M_Object_Get( self, args ) );
-}
-
-/*****************************************************************************/
/* Function: M_Object_GetSelected */
-/* Python equivalent: Blender.Object.getSelected */
+/* Python equivalent: Blender.Object.GetSelected */
/*****************************************************************************/
static PyObject *M_Object_GetSelected( PyObject * self, PyObject * args )
{
@@ -584,19 +566,6 @@ static PyObject *M_Object_GetSelected( PyObject * self, PyObject * args )
}
/*****************************************************************************/
-/* Function: M_Object_getSelected */
-/* Python equivalent: Blender.Object.getSelected */
-/*****************************************************************************/
-static PyObject *M_Object_getSelected( PyObject * self, PyObject * args )
-{
- PyErr_Warn( PyExc_DeprecationWarning,
- "The Object.getSelected() function will be removed in "
- "Blender 2.29\n"
- "Please update the script to use Object.GetSelected" );
- return ( M_Object_GetSelected( self, args ) );
-}
-
-/*****************************************************************************/
/* Function: initObject */
/*****************************************************************************/
PyObject *Object_Init( void )