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, "");
|
||||||
Vasyl-Pidhirskyi marked this conversation as resolved
Outdated
|
|||||||
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()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Vasyl-Pidhirskyi marked this conversation as resolved
Outdated
Georgiy Markelov
commented
Should it be moved inside Should it be moved inside `if (ret) {`?
|
|||||||
ID_LOG(2, "");
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user
InstancerData init, remove, update/update_visibility -> 1