We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bccafc8 commit b2e48aeCopy full SHA for b2e48ae
.vs/ClausewitzBlenderPlugin/v14/.suo
3 KB
import-export-clausewitz/exporter.py
@@ -15,7 +15,11 @@ def export_mesh(self, name):
15
objects.append(pdx_data.PdxAsset())
16
17
world = pdx_data.PdxWorld([])
18
- shape = pdx_data.PdxShape(name)
+
19
+ if name.endswith("MeshShape"):
20
+ shape = pdx_data.PdxShape(name)
21
+ else:
22
+ shape = pdx_data.PdxShape(name + ":MeshShape")
23
24
mesh = pdx_data.PdxMesh()
25
shape.mesh = mesh
0 commit comments