@@ -186,9 +186,6 @@ class PlasmaWaterModifier(idprops.IDPropMixin, PlasmaModifierProperties, bpy.typ
186186                                  description = "Object whose Y axis represents the wind direction and whose Z axis represents the water height" ,
187187                                  type = bpy .types .Object ,
188188                                  poll = idprops .poll_empty_objects )
189-     wind_speed  =  FloatProperty (name = "Wind Speed" ,
190-                                description = "Magnitude of the wind" ,
191-                                default = 1.0 )
192189    envmap  =  PointerProperty (name = "EnvMap" ,
193190                             description = "Texture defining an environment map for this water object" ,
194191                             type = bpy .types .Texture ,
@@ -247,9 +244,9 @@ def export(self, exporter, bo, so):
247244        if  self .wind_object  is  not None :
248245            waveset .refObj  =  exporter .mgr .find_create_key (plSceneObject , bl = self .wind_object )
249246            waveset .setFlag (plWaveSet7 .kHasRefObject , True )
250-             speed  =  self .wind_speed 
251247            matrix  =  self .wind_object .matrix_world 
252-             wind_dir  =  hsVector3 (matrix [1 ][0 ] *  speed , matrix [1 ][1 ] *  speed , matrix [1 ][2 ] *  speed )
248+             # Store the wind direction to keep our PRP pretty. Plasma doesn't give a damn and will recompute this at runtime anyway. 
249+             wind_dir  =  hsVector3 (matrix [1 ][0 ], matrix [1 ][1 ], matrix [1 ][2 ])
253250        else :
254251            # Stolen shamelessly from PyPRP 
255252            wind_dir  =  hsVector3 (0.0871562 , 0.996195 , 0.0 )
0 commit comments