Browse Source

Ensure that modifiers in the pool don't get attached to SceneObjects.

pull/374/head
Adam Johnson 10 months ago
parent
commit
7cac44daa5
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 4
      korman/exporter/manager.py

4
korman/exporter/manager.py

@ -138,9 +138,9 @@ class ExportManager:
so.draw = pl.key
elif isinstance(pl, plSimulationInterface):
so.sim = pl.key
else:
elif pl.ClassIndex() not in _pool_types:
so.addInterface(pl.key)
elif isinstance(pl, plModifier):
elif isinstance(pl, plModifier) and pl.ClassIndex() not in _pool_types:
so.addModifier(pl.key)
# And we're done!

Loading…
Cancel
Save