Skip to content

Commit b2e48ae

Browse files
* Fix export Naming
1 parent bccafc8 commit b2e48ae

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
3 KB
Binary file not shown.

import-export-clausewitz/exporter.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ def export_mesh(self, name):
1515
objects.append(pdx_data.PdxAsset())
1616

1717
world = pdx_data.PdxWorld([])
18-
shape = pdx_data.PdxShape(name)
18+
19+
if name.endswith("MeshShape"):
20+
shape = pdx_data.PdxShape(name)
21+
else:
22+
shape = pdx_data.PdxShape(name + ":MeshShape")
1923

2024
mesh = pdx_data.PdxMesh()
2125
shape.mesh = mesh

0 commit comments

Comments
 (0)