Browse Source

Ensure parent objects generate CoordinateInterfaces.

pull/274/head
Adam Johnson 3 years ago
parent
commit
5a4479ffa7
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/convert.py

2
korman/exporter/convert.py

@ -346,7 +346,7 @@ class Exporter:
def has_coordiface(self, bo): def has_coordiface(self, bo):
if bo.type in {"CAMERA", "EMPTY", "LAMP"}: if bo.type in {"CAMERA", "EMPTY", "LAMP"}:
return True return True
if bo.parent is not None: if bo.parent is not None or bo.children:
return True return True
if bo.name in self.actors: if bo.name in self.actors:
return True return True

Loading…
Cancel
Save