|
@@ -35,6 +35,7 @@ def export_mesh_node(escn_file, export_settings, node, parent_path):
|
|
|
|
|
|
mesh_node = NodeTemplate(node.name, "MeshInstance", parent_path)
|
|
mesh_node = NodeTemplate(node.name, "MeshInstance", parent_path)
|
|
mesh_node['mesh'] = "SubResource({})".format(mesh_id)
|
|
mesh_node['mesh'] = "SubResource({})".format(mesh_id)
|
|
|
|
+ mesh_node['visible'] = not node.hide
|
|
if not physics.has_physics(node) or not physics.is_physics_root(node):
|
|
if not physics.has_physics(node) or not physics.is_physics_root(node):
|
|
mesh_node['transform'] = node.matrix_local
|
|
mesh_node['transform'] = node.matrix_local
|
|
else:
|
|
else:
|