Browse Source

Fix the fix for PotS swim regions

pull/94/head
Adam Johnson 7 years ago
parent
commit
c3daa72677
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/properties/modifiers/water.py

2
korman/properties/modifiers/water.py

@ -133,9 +133,9 @@ class PlasmaSwimRegion(idprops.IDPropObjectMixin, PlasmaModifierProperties, bpy.
simIface, physical = exporter.physics.generate_physical(self.region, region_so, bounds, det_name)
if exporter.mgr.getVer() == pvMoul:
physical.memberGroup = plSimDefs.kGroupDetector
physical.reportGroup |= 1 << plSimDefs.kGroupAvatar
else:
physical.memberGroup = plSimDefs.kGroupLOSOnly
physical.reportGroup |= 1 << plSimDefs.kGroupAvatar
# I am a little concerned if we already have a plSwimDetector... I am not certain how
# well Plasma would tolerate having a plSwimMsg with multiple regions referenced.

Loading…
Cancel
Save