Browse Source

Merge pull request #231 from DoobesURU/WindObjFix

Wind Object fix
pull/232/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
d1baf0ee04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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