Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-11-15 16:05:18 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-11-16 11:41:09 +0300
commit7d985d6b69703d7eb515c776dd5911443cde59d3 (patch)
tree3c2d683b53e70189f2a13757ba70bb794db01ca2 /source/blender/io/common
parenta040d2a93a7d5b615dc7d408925f00e87a603472 (diff)
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.
Diffstat (limited to 'source/blender/io/common')
-rw-r--r--source/blender/io/common/intern/abstract_hierarchy_iterator.cc9
1 files changed, 9 insertions, 0 deletions
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;
}