Changeset View
Changeset View
Standalone View
Standalone View
source/blender/alembic/intern/abc_transform.cc
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | |||||
| bool AbcEmptyReader::valid() const | bool AbcEmptyReader::valid() const | ||||
| { | { | ||||
| return m_schema.valid(); | return m_schema.valid(); | ||||
| } | } | ||||
| void AbcEmptyReader::readObjectData(Main *bmain, float /*time*/) | 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; | m_object->data = NULL; | ||||
| } | } | ||||