forked from blender/blender
Support several instancers on one object #24
@ -101,7 +101,6 @@ pxr::VtValue MaterialData::get_data(pxr::TfToken const &key) const
|
|||||||
|
|
||||||
pxr::VtValue MaterialData::material_resource()
|
pxr::VtValue MaterialData::material_resource()
|
||||||
{
|
{
|
||||||
return material_network_map;
|
|
||||||
if (material_network_map.IsEmpty()) {
|
if (material_network_map.IsEmpty()) {
|
||||||
const std::string &path = mtlx_path.GetResolvedPath();
|
const std::string &path = mtlx_path.GetResolvedPath();
|
||||||
if (!path.empty()) {
|
if (!path.empty()) {
|
||||||
|
@ -157,7 +157,7 @@ void WorldData::insert()
|
|||||||
|
|
||||||
void WorldData::remove()
|
void WorldData::remove()
|
||||||
{
|
{
|
||||||
ID_LOG(2, "");
|
CLOG_INFO(LOG_BSD, 2, "%s", p_id.GetText());
|
||||||
scene_delegate->GetRenderIndex().RemoveSprim(pxr::HdPrimTypeTokens->domeLight, p_id);
|
scene_delegate->GetRenderIndex().RemoveSprim(pxr::HdPrimTypeTokens->domeLight, p_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user