Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions indra/newview/llviewerregion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3721,6 +3721,10 @@ bool LLViewerRegion::bakesOnMeshEnabled() const

bool LLViewerRegion::meshRezEnabled() const
{
if(!mSimulatorFeaturesReceived)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: add an in-code comment that explains why this hack is needed.

P.S. By this point meshRezEnabled is mission critical. Perhaps just deprecate it and assume meshes are always supported?

{
return true;
}
return (mSimulatorFeatures.has("MeshRezEnabled") &&
mSimulatorFeatures["MeshRezEnabled"].asBoolean());
}
Expand Down
Loading