[Bf-blender-cvs] [4287247bce1] refactor-mesh-uv-map-generic: change forgotten CD_MLOOPUV to CD_PROP_FLOAT2
Martijn Versteegh
noreply at git.blender.org
Thu Jan 5 14:50:39 CET 2023
Commit: 4287247bce1a5335da63e80261f84b527f136d16
Author: Martijn Versteegh
Date: Thu Jan 5 14:50:15 2023 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rB4287247bce1a5335da63e80261f84b527f136d16
change forgotten CD_MLOOPUV to CD_PROP_FLOAT2
===================================================================
M source/blender/python/bmesh/bmesh_py_types_customdata.c
===================================================================
diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.c b/source/blender/python/bmesh/bmesh_py_types_customdata.c
index 894464500fe..fd175819731 100644
--- a/source/blender/python/bmesh/bmesh_py_types_customdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c
@@ -1250,7 +1250,7 @@ int BPy_BMLayerItem_SetItem(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer, PyObj
}
break;
}
- case CD_MLOOPUV: {
+ case CD_PROP_FLOAT2: {
if (UNLIKELY(py_ele->bm != py_layer->bm)) {
PyErr_SetString(PyExc_ValueError, "BMElem[layer]: layer is from another mesh");
ret = -1;
More information about the Bf-blender-cvs
mailing list