Fix T55944: fbx export error with smoothing face

ddee0931b8 added PROP_RAW_BOOLEAN case for foreach_set, but missed
foreach_get

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D3534
This commit is contained in:
Philipp Oeser
2018-07-16 09:48:52 +02:00
parent 96b4e43e8d
commit 43f0af734e

View File

@@ -5047,6 +5047,9 @@ static PyObject *foreach_getset(BPy_PropertyRNA *self, PyObject *args, int set)
case PROP_RAW_DOUBLE:
item = PyFloat_FromDouble((double) ((double *)array)[i]);
break;
case PROP_RAW_BOOLEAN:
item = PyBool_FromLong((long) ((bool *)array)[i]);
break;
default: /* PROP_RAW_UNSET */
/* should never happen */
BLI_assert(!"Invalid array type - get");