diff options
author | Ben Batt <benbatt@gmail.com> | 2007-04-30 20:49:12 +0400 |
---|---|---|
committer | Ben Batt <benbatt@gmail.com> | 2007-04-30 20:49:12 +0400 |
commit | 469208a10121e6e859b6fe7025bafe3d9f892fd7 (patch) | |
tree | a5e667171d5549f7b64c4b63c09e3de06b9e67e4 /source/blender/python/api2_2x/Modifier.c | |
parent | 0b66fe6a4849b3916793cd815ffb8c0d67885cdc (diff) |
Patch #6192 - Wave Modifier Option to move verts along normals
This patch adds an option to the wave modifier to displace along the normals
of the base mesh, rather than in the local Z direction.
Thanks to Michael Fox (mfoxdoggg) for the patch!
Diffstat (limited to 'source/blender/python/api2_2x/Modifier.c')
-rw-r--r-- | source/blender/python/api2_2x/Modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Modifier.c b/source/blender/python/api2_2x/Modifier.c index 694a0dbfbfe..a0fb796a4a4 100644 --- a/source/blender/python/api2_2x/Modifier.c +++ b/source/blender/python/api2_2x/Modifier.c @@ -743,7 +743,7 @@ static int wave_setter( BPy_Modifier *self, int type, PyObject *value ) return EXPP_setFloatClamped( value, &md->timeoffs, -1000.0, 1000.0 ); case EXPP_MOD_FLAG: return EXPP_setIValueRange( value, &md->flag, 0, - WAV_X+WAV_Y+WAV_CYCL, 'h' ); + MOD_WAVE_X | MOD_WAVE_Y | MOD_WAVE_CYCL, 'h' ); default: return EXPP_ReturnIntError( PyExc_KeyError, "key not found" ); } |