Browse Source

Fix traceback introduced by 742baf3 when exporting to PotS

pull/125/head
Adam Johnson 6 years ago
parent
commit
eae02c133d
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -547,7 +547,7 @@ class MaterialConverter:
if viewpt.type == "CAMERA":
warn = self._report.port if bl_env.mapping == "PLANE" else self._report.warn
warn("Environment Map '{}' is exporting as a cube map. The viewpoint '{}' is a camera, but only its position will be used.",
bl_env.name, viewpt.name)
bl_env.id_data.name, viewpt.name, indent=5)
# DEMs can do just a position vector. We actually prefer this because the WaveSet exporter
# will probably want to steal it for diabolical purposes...

Loading…
Cancel
Save