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:
authorCampbell Barton <ideasman42@gmail.com>2007-02-27 07:28:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-02-27 07:28:15 +0300
commit58d1a25da0a2b3cf0a9d03bc50c6b1e5d9e4c21a (patch)
tree47fee3e53657407ff5c84f701ede0c68580f67d6 /source/blender/python/api2_2x/Group.c
parentd3f9e661de16487f9857c777e1201a15b25c8a95 (diff)
moved Lattice to getseters. gen_utils.c - removed unused code fixed a warning.
Diffstat (limited to 'source/blender/python/api2_2x/Group.c')
-rwxr-xr-xsource/blender/python/api2_2x/Group.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/python/api2_2x/Group.c b/source/blender/python/api2_2x/Group.c
index 79ecf99b86d..b2af656949a 100755
--- a/source/blender/python/api2_2x/Group.c
+++ b/source/blender/python/api2_2x/Group.c
@@ -711,13 +711,6 @@ static PyObject *GroupObSeq_link( BPy_GroupObSeq * self, PyObject *args )
Py_RETURN_NONE;
}
-static PyObject *GroupObSeq_append( BPy_GroupObSeq * self, PyObject *args )
-{
- printf("WARNING: grp.objects.append() has been deprecated, use grp.objects.link() instead.\nBlender releases after 2.43 will not support .append()");
- return GroupObSeq_link(self, args);
-}
-
-
static PyObject *GroupObSeq_unlink( BPy_GroupObSeq * self, PyObject *args )
{
PyObject *pyobj;
@@ -746,25 +739,11 @@ static PyObject *GroupObSeq_unlink( BPy_GroupObSeq * self, PyObject *args )
Py_RETURN_NONE;
}
-static PyObject *GroupObSeq_remove( BPy_GroupObSeq * self, PyObject *args )
-{
- printf("WARNING: grp.objects.remove() has been deprecated, use grp.objects.unlink() instead.\nBlender releases after 2.43 will not support .remove()");
- return GroupObSeq_unlink(self, args);
-}
-
-
static struct PyMethodDef BPy_GroupObSeq_methods[] = {
{"link", (PyCFunction)GroupObSeq_link, METH_VARARGS,
"make the object a part of this group"},
{"unlink", (PyCFunction)GroupObSeq_unlink, METH_VARARGS,
"unlink an object from this group"},
-
- /* Deprecated! use the above functions */
- {"append", (PyCFunction)GroupObSeq_append, METH_VARARGS,
- "make the object a part of this group - deprecated, use link"},
- {"remove", (PyCFunction)GroupObSeq_remove, METH_VARARGS,
- "remove an object from this group - deprecated, use unlink"},
-
{NULL, NULL, 0, NULL}
};