Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add feature - export particle objects as multimeshinstance to godot #354

Merged
merged 16 commits into from
Nov 13, 2020
Prev Previous commit
Next Next commit
fix for reveiwing
  • Loading branch information
U-TTE\celpec committed Oct 26, 2020
commit ffa87361f665df694e9fe6e379edcf20d2006d50
3 changes: 1 addition & 2 deletions io_scene_godot/converters/multimesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def export_multimesh_node(escn_file, export_settings,
elif ps.settings.instance_object:
instance_object=ps.settings.instance_object

multimeshnode = NodeTemplate(re.sub('[^a-zA-Z0-9]','',ps.name) + 'MultiMesh',
'MultiMeshInstance', parent_gd_node)
multimeshnode = NodeTemplate(ps.name, 'MultiMeshInstance', parent_gd_node)

# Export instance mesh resource first
instance_mesh_exporter = ArrayMeshResourceExporter(instance_object)
Expand Down