Changeset View
Changeset View
Standalone View
Standalone View
source/blender/alembic/intern/abc_object.cc
| Show First 20 Lines • Show All 358 Lines • ▼ Show 20 Lines | void AbcObjectReader::addCacheModifier() | ||||
| BLI_addtail(&m_object->modifiers, md); | BLI_addtail(&m_object->modifiers, md); | ||||
| MeshSeqCacheModifierData *mcmd = reinterpret_cast<MeshSeqCacheModifierData *>(md); | MeshSeqCacheModifierData *mcmd = reinterpret_cast<MeshSeqCacheModifierData *>(md); | ||||
| mcmd->cache_file = m_settings->cache_file; | mcmd->cache_file = m_settings->cache_file; | ||||
| id_us_plus(&mcmd->cache_file->id); | id_us_plus(&mcmd->cache_file->id); | ||||
| BLI_strncpy(mcmd->object_path, m_iobject.getFullName().c_str(), FILE_MAX); | BLI_strncpy(mcmd->object_path, m_iobject.getFullName().c_str(), FILE_MAX); | ||||
| mcmd->reader = reinterpret_cast<CacheReader *>(this); | |||||
| this->incref(); | |||||
| } | } | ||||
| chrono_t AbcObjectReader::minTime() const | chrono_t AbcObjectReader::minTime() const | ||||
| { | { | ||||
| return m_min_time; | return m_min_time; | ||||
| } | } | ||||
| chrono_t AbcObjectReader::maxTime() const | chrono_t AbcObjectReader::maxTime() const | ||||
| Show All 19 Lines | |||||