Browse Source

Merge pull request #275 from TikiBear/patch-11

Warn if more than 8 RT lamps are on a material.
pull/277/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
524232352c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      korman/exporter/rtlight.py

3
korman/exporter/rtlight.py

@ -292,6 +292,9 @@ class LightConverter:
self._report.msg("[{}] PermaLight '{}'", lamp.type, obj.name, indent=2)
permaLights.append(pl_light)
if len(permaLights) > 8:
self._report.warn("More than 8 RT lamps on material: '{}'", bm.name, indent=1)
return (permaLights, permaProjs)
def get_light_key(self, bo, bl_light, so):

Loading…
Cancel
Save