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>2017-02-14 09:59:27 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2017-02-14 10:15:13 +0300
commit54102ab36eba24977c3a7fa373b95df51e50c123 (patch)
tree0d5eeff93a8cfbacc5b86da6578dcda28cbd6969
parent930186d3df9cb55832d625e96a9655491360ba1e (diff)
Alembic: fix naming of imported transforms.
When importing an Alembic file with grouped transforms, it would badly name the transforms, taking the name of the parent instead of its own. Patch by @maxime.robinot Differential Revision: https://developer.blender.org/D2507
-rw-r--r--source/blender/alembic/intern/abc_transform.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_transform.cc b/source/blender/alembic/intern/abc_transform.cc
index e2fc7674c4e..368a811bb2a 100644
--- a/source/blender/alembic/intern/abc_transform.cc
+++ b/source/blender/alembic/intern/abc_transform.cc
@@ -146,6 +146,6 @@ bool AbcEmptyReader::valid() const
void AbcEmptyReader::readObjectData(Main *bmain, float /*time*/)
{
- m_object = BKE_object_add_only_object(bmain, OB_EMPTY, m_object_name.c_str());
+ m_object = BKE_object_add_only_object(bmain, OB_EMPTY, m_data_name.c_str());
m_object->data = NULL;
}