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
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user