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 3 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
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)
else:
# Stolen shamelessly from PyPRP

Loading…
Cancel
Save