forked from blender/blender
Change log severity for better maintability #50
@ -116,6 +116,7 @@ bool InstancerData::update_visibility()
|
|||||||
bool ret = visible != prev_visible;
|
bool ret = visible != prev_visible;
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
ID_LOG(2, "");
|
||||||
auto &change_tracker = scene_delegate_->GetRenderIndex().GetChangeTracker();
|
auto &change_tracker = scene_delegate_->GetRenderIndex().GetChangeTracker();
|
||||||
change_tracker.MarkInstancerDirty(prim_id, pxr::HdChangeTracker::DirtyVisibility);
|
change_tracker.MarkInstancerDirty(prim_id, pxr::HdChangeTracker::DirtyVisibility);
|
||||||
for (auto &it : mesh_instances_) {
|
for (auto &it : mesh_instances_) {
|
||||||
@ -133,7 +134,6 @@ bool InstancerData::update_visibility()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ID_LOG(2, "");
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user