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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-09-05 04:32:36 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-09-05 04:32:36 +0300
commit2024cd09a09afdaac63ca060dc1e0b33eb75fbdc (patch)
treea96a899f5ebe5e7a5a2fed809274ed0dc7817dfc /source/blender/alembic/intern/abc_points.cc
parent0351e701ce7d734a5b1e6df26ddb897728db9025 (diff)
Fix T49249: Alembic export with multiple hair systems crash blender
Crash was due to a name collision in Alembic objects caused by the fact that names derive from the one of the Blender object. An object having multiple particles system would thus give its name to various subobjects. Now use the name of the particles system for the Alembic object.
Diffstat (limited to 'source/blender/alembic/intern/abc_points.cc')
-rw-r--r--source/blender/alembic/intern/abc_points.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_points.cc b/source/blender/alembic/intern/abc_points.cc
index 322bb906bf5..03014547416 100644
--- a/source/blender/alembic/intern/abc_points.cc
+++ b/source/blender/alembic/intern/abc_points.cc
@@ -67,7 +67,7 @@ AbcPointsWriter::AbcPointsWriter(Scene *scene,
{
m_psys = psys;
- OPoints points(parent->alembicXform(), m_name, m_time_sampling);
+ OPoints points(parent->alembicXform(), psys->name, m_time_sampling);
m_schema = points.getSchema();
}