From 7d985d6b69703d7eb515c776dd5911443cde59d3 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Mon, 15 Nov 2021 14:05:18 +0100 Subject: Fix T93066: Alembic export ignores Mantaflow particles `ABCPointsWriter::is_supported` already checked for valid particle system types (liquid, spray, foam, bubbles, ...). `AbstractHierarchyIterator::make_writers_particle_systems` did not create a writer for these though, so now bring these in line and also create writers for these. --- source/blender/io/common/intern/abstract_hierarchy_iterator.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/blender/io/common') diff --git a/source/blender/io/common/intern/abstract_hierarchy_iterator.cc b/source/blender/io/common/intern/abstract_hierarchy_iterator.cc index 28d5eb59e5e..bfd91620654 100644 --- a/source/blender/io/common/intern/abstract_hierarchy_iterator.cc +++ b/source/blender/io/common/intern/abstract_hierarchy_iterator.cc @@ -681,6 +681,15 @@ void AbstractHierarchyIterator::make_writers_particle_systems( writer = ensure_writer(&hair_context, &AbstractHierarchyIterator::create_hair_writer); break; case PART_EMITTER: + case PART_FLUID_FLIP: + case PART_FLUID_SPRAY: + case PART_FLUID_BUBBLE: + case PART_FLUID_FOAM: + case PART_FLUID_TRACER: + case PART_FLUID_SPRAYFOAM: + case PART_FLUID_SPRAYBUBBLE: + case PART_FLUID_FOAMBUBBLE: + case PART_FLUID_SPRAYFOAMBUBBLE: writer = ensure_writer(&hair_context, &AbstractHierarchyIterator::create_particle_writer); break; } -- cgit v1.2.3