From 9fa29fe7652a9adc4a11ba3dc2975595489f7bcd Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 7 Feb 2020 11:31:20 +0100 Subject: Cleanup: remove MLOOPUV_EDGESEL This was not set anywhere, code relies on MLOOPUV_VERTSEL everywhere. BMLoopUV.select_edge was never returning True and wasnt updating uv select state when set manually. Afaict, there were no official Addons using this from python. Resolves T65836 Maniphest Tasks: T65836 Differential Revision: https://developer.blender.org/D6772 --- source/blender/python/bmesh/bmesh_py_types_meshdata.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c index c193cceeedb..321fc20c792 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c @@ -72,7 +72,6 @@ static int bpy_bmloopuv_uv_set(BPy_BMLoopUV *self, PyObject *value, void *UNUSED PyDoc_STRVAR(bpy_bmloopuv_flag__pin_uv_doc, "UV pin state.\n\n:type: boolean"); PyDoc_STRVAR(bpy_bmloopuv_flag__select_doc, "UV select state.\n\n:type: boolean"); -PyDoc_STRVAR(bpy_bmloopuv_flag__select_edge_doc, "UV edge select state.\n\n:type: boolean"); static PyObject *bpy_bmloopuv_flag_get(BPy_BMLoopUV *self, void *flag_p) { @@ -110,11 +109,6 @@ static PyGetSetDef bpy_bmloopuv_getseters[] = { (setter)bpy_bmloopuv_flag_set, bpy_bmloopuv_flag__select_doc, (void *)MLOOPUV_VERTSEL}, - {"select_edge", - (getter)bpy_bmloopuv_flag_get, - (setter)bpy_bmloopuv_flag_set, - bpy_bmloopuv_flag__select_edge_doc, - (void *)MLOOPUV_EDGESEL}, {NULL, NULL, NULL, NULL, NULL} /* Sentinel */ }; -- cgit v1.2.3