forked from blender/blender
Implement instancing for light objects #35
@ -153,7 +153,7 @@ ObjectData *InstancerData::object_data(pxr::SdfPath const &id) const
|
||||
if (m_it != mesh_instances_.end()) {
|
||||
return m_it->second.data.get();
|
||||
}
|
||||
auto l_it = light_instances_.find(id);
|
||||
auto l_it = light_instances_.find(id.GetParentPath());
|
||||
if (l_it != light_instances_.end()) {
|
||||
return l_it->second.data.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user