From bda4a284d20164fec2433f7c40f49fc903319400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Tue, 17 Dec 2019 11:39:23 +0100 Subject: Fluid: Fix particle settings type --- source/blender/alembic/intern/abc_exporter.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/alembic') diff --git a/source/blender/alembic/intern/abc_exporter.cc b/source/blender/alembic/intern/abc_exporter.cc index 5d9f92432d1..cacf0676481 100644 --- a/source/blender/alembic/intern/abc_exporter.cc +++ b/source/blender/alembic/intern/abc_exporter.cc @@ -556,9 +556,9 @@ void AbcExporter::createParticleSystemsWriters(Object *ob, AbcTransformWriter *x m_shapes.push_back(new AbcHairWriter(ob, xform, m_shape_sampling_index, m_settings, psys)); } else if (m_settings.export_particles && - (psys->part->type & PART_EMITTER || psys->part->type & PART_FLUID_FLIP || - psys->part->type & PART_FLUID_SPRAY || psys->part->type & PART_FLUID_BUBBLE || - psys->part->type & PART_FLUID_FOAM || psys->part->type & PART_FLUID_TRACER)) { + (psys->part->type == PART_EMITTER || psys->part->type == PART_FLUID_FLIP || + psys->part->type == PART_FLUID_SPRAY || psys->part->type == PART_FLUID_BUBBLE || + psys->part->type == PART_FLUID_FOAM || psys->part->type == PART_FLUID_TRACER)) { m_shapes.push_back(new AbcPointsWriter(ob, xform, m_shape_sampling_index, m_settings, psys)); } } -- cgit v1.2.3