Small commit, hopefully the last Duplicate change.

Made pythons duplicate not redraw, documented adduplicate()
This commit is contained in:
2006-01-02 23:26:54 +00:00
parent 8b0c3de7d9
commit 80f903ed73
3 changed files with 21 additions and 8 deletions

View File

@@ -848,7 +848,7 @@ static PyObject *M_Object_Duplicate( PyObject * self, PyObject * args, PyObject
if (material_dupe) dupflag |= USER_DUP_MAT;
if (texture_dupe) dupflag |= USER_DUP_TEX;
if (ipo_dupe) dupflag |= USER_DUP_IPO;
adduplicate(1, dupflag); /* Duplicate the current selection, context sensitive */
adduplicate(2, dupflag); /* 2 is a mode with no transform and no redraw, Duplicate the current selection, context sensitive */
Py_RETURN_NONE;
}