Browse Source

Wind Object fix

A long time coming but only now just fixed, but this makes a small correction to the wind object part of the waveset modifier to get it to work.
pull/231/head
Patrick Dulebohn 4 years ago
parent
commit
7d82db3185
  1. 2
      korman/properties/modifiers/water.py

2
korman/properties/modifiers/water.py

@ -249,7 +249,7 @@ class PlasmaWaterModifier(idprops.IDPropMixin, PlasmaModifierProperties, bpy.typ
# This is much like what happened in PyPRP # This is much like what happened in PyPRP
speed = self.wind_speed speed = self.wind_speed
matrix = wind_obj.matrix_world matrix = self.wind_object.matrix_world
wind_dir = hsVector3(matrix[1][0] * speed, matrix[1][1] * speed, matrix[1][2] * speed) wind_dir = hsVector3(matrix[1][0] * speed, matrix[1][1] * speed, matrix[1][2] * speed)
else: else:
# Stolen shamelessly from PyPRP # Stolen shamelessly from PyPRP

Loading…
Cancel
Save