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-22 18:47:55 +0300
commit4a8f07a8323ce6a529578eb142d77ec15faab618 (patch)
treee8519b0f22bb67ea893c1eef514eea23dd70ac36
parent6cad8690c306bc4d55af15ae2b53cf686346d263 (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.
-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 3cda4d125d0..9af3aeb3231 100644
--- a/source/blender/io/common/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/io/common/intern/abstract_hierarchy_iterator.cc
@@ -682,6 +682,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;
}