diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-09-20 21:30:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-09-20 21:30:47 +0400 |
commit | 78e1426835865ea2acb165103e4d47f695a1aea7 (patch) | |
tree | 1db03a862fd405708cd7dc0c0467c2755fe2bd7d /source/blender/python/api2_2x/Modifier.c | |
parent | 2446288ad318e3096d16a648fdf9e4a10f700af5 (diff) |
removed warning in EXPP_setVec3Clamped
Diffstat (limited to 'source/blender/python/api2_2x/Modifier.c')
-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 c3c49ffbee5..89faa8c86d9 100644 --- a/source/blender/python/api2_2x/Modifier.c +++ b/source/blender/python/api2_2x/Modifier.c @@ -675,9 +675,9 @@ static int array_setter( BPy_Modifier *self, int type, PyObject *value ) case EXPP_MOD_MERGE_DIST: return EXPP_setFloatClamped( value, &md->merge_dist, 0.0, 1000.0 ); case EXPP_MOD_OFFSET_VEC: - return EXPP_setVec3Clamped( value, &md->offset, -10000.0, 10000.0 ); + return EXPP_setVec3Clamped( value, md->offset, -10000.0, 10000.0 ); case EXPP_MOD_SCALE_VEC: - return EXPP_setVec3Clamped( value, &md->scale, -10000.0, 10000.0 ); + return EXPP_setVec3Clamped( value, md->scale, -10000.0, 10000.0 ); default: return EXPP_ReturnIntError( PyExc_KeyError, "key not found" ); } |