Browse Source

Also export the rootNode for DynaEnvMaps

pull/89/head
Darryl Pogue 7 years ago
parent
commit
51830c9ff1
No known key found for this signature in database
GPG Key ID: CB824715C3E6FD41
  1. 4
      korman/exporter/material.py

4
korman/exporter/material.py

@ -518,6 +518,10 @@ class MaterialConverter:
# will probably want to steal it for diabolical purposes...
pl_env.position = hsVector3(*viewpt.location)
# We'll also export it as a Root though, where supported (MOUL)
root = self._mgr.find_create_key(plSceneObject, bl=viewpt)
pl_env.rootNode = root
if layer is not None:
layer.UVWSrc = plLayerInterface.kUVWReflect
layer.state.miscFlags |= hsGMatState.kMiscUseReflectionXform

Loading…
Cancel
Save