Merge pull request #1722 from MoritzBrueckner/fix-particles

Fix multi-usage of particle systems
This commit is contained in:
Lubos Lenco 2020-06-05 10:44:48 +02:00 committed by GitHub
commit a83360fd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -442,9 +442,6 @@ class ArmoryExporter:
o['material_refs'].append(arm.utils.asset_name(material))
def export_particle_system_ref(self, psys: bpy.types.ParticleSystem, out_object):
if psys.settings in self.particle_system_array: # or not modifier.show_render:
return
if psys.settings.instance_object is None or psys.settings.render_type != 'OBJECT':
return