[Bf-blender-cvs] [8c5a9cc] gooseberry: Fix compilation issue

Antony Riakiotakis noreply at git.blender.org
Fri Apr 24 11:42:59 CEST 2015


Commit: 8c5a9cc8df8db91d64632be29e6b16f41bed985a
Author: Antony Riakiotakis
Date:   Fri Apr 24 11:41:58 2015 +0200
Branches: gooseberry
https://developer.blender.org/rB8c5a9cc8df8db91d64632be29e6b16f41bed985a

Fix compilation issue

===================================================================

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 eb3067d..1d5f0d7 100644
--- a/source/blender/python/bmesh/bmesh_py_types_customdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c
@@ -989,7 +989,6 @@ PyObject *BPy_BMLayerItem_GetItem(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer)
 		}
 		case CD_PAINT_MASK:
 		case CD_PROP_FLT:
-		case CD_PAINT_MASK:
 		{
 			ret = PyFloat_FromDouble(*(float *)value);
 			break;
@@ -1068,7 +1067,6 @@ int BPy_BMLayerItem_SetItem(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer, PyObj
 		}
 		case CD_PAINT_MASK:
 		case CD_PROP_FLT:
-		case CD_PAINT_MASK:
 		{
 			float tmp_val = PyFloat_AsDouble(py_value);
 			if (UNLIKELY(tmp_val == -1 && PyErr_Occurred())) {




More information about the Bf-blender-cvs mailing list