From 54102ab36eba24977c3a7fa373b95df51e50c123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dietrich?= Date: Tue, 14 Feb 2017 07:59:27 +0100 Subject: [PATCH] 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 --- source/blender/alembic/intern/abc_transform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }