[Bf-blender-cvs] [95404396f82] refactor-mesh-uv-map-generic: Remove outdated comment.
Martijn Versteegh
noreply at git.blender.org
Tue Dec 6 21:34:24 CET 2022
Commit: 95404396f82d34f0b5e1e3fda9b640c728f5180a
Author: Martijn Versteegh
Date: Tue Dec 6 21:34:09 2022 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rB95404396f82d34f0b5e1e3fda9b640c728f5180a
Remove outdated comment.
===================================================================
M source/blender/python/bmesh/bmesh_py_types_meshdata.c
===================================================================
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
index 5077bdce75d..c6c040b2768 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
@@ -74,11 +74,6 @@ static int bpy_bmloopuv_pin_uv_set(BPy_BMLoopUV *self, PyObject *value, void *UN
if (self->pinned) {
*self->pinned = PyC_Long_AsBool(value);
}
- /* TODO(martijn) if (!self->pinned) that means the layed does not exist , or at least didn't
- * exist when the PY object was created. We *should* create it here instead of just bailing, but
- * we can't because that would invalidate all existing BPy_BMLoopUV objects' interal pointers.
- * the same goes for vertsel and edgesel below.
- */
return 0;
}
More information about the Bf-blender-cvs
mailing list