diff options
-rw-r--r-- | source/blender/python/api2_2x/Modifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Modifier.c b/source/blender/python/api2_2x/Modifier.c index 8c1cf9e7334..c3c49ffbee5 100644 --- a/source/blender/python/api2_2x/Modifier.c +++ b/source/blender/python/api2_2x/Modifier.c @@ -763,10 +763,10 @@ static PyObject *Modifier_getData( BPy_Modifier * self, PyObject * key ) return wave_getter( self, setting ); case eModifierType_Boolean: return boolean_getter( self, setting ); - case eModifierType_Hook: - case eModifierType_Softbody: case eModifierType_Array: return array_getter( self, setting ); + case eModifierType_Hook: + case eModifierType_Softbody: case eModifierType_None: Py_RETURN_NONE; } |