FIRE-35931 Guard against empty "new feature" popup, plus comment out the bogus call with "gltf" param that was overwriting value 4 with 0
parent
64adbe60af
commit
7879863c4f
|
|
@ -1122,10 +1122,10 @@ LLMaterialPtr FSPanelFace::createDefaultMaterial(LLMaterialPtr current_material)
|
|||
|
||||
void FSPanelFace::onVisibilityChange(bool new_visibility)
|
||||
{
|
||||
if (new_visibility)
|
||||
/* if (new_visibility)
|
||||
{
|
||||
gAgent.showLatestFeatureNotification("gltf");
|
||||
}
|
||||
} */
|
||||
LLPanel::onVisibilityChange(new_visibility);
|
||||
|
||||
// Since we allow both PBR and BP textures to be applied at the same time,
|
||||
|
|
|
|||
|
|
@ -719,6 +719,13 @@ void LLAgent::showLatestFeatureNotification(const std::string key)
|
|||
flag = 4;
|
||||
}
|
||||
|
||||
// <FS:PP> FIRE-35931 Guard against empty "new feature" popup
|
||||
if (flag == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// </FS:PP>
|
||||
|
||||
if ((flags & flag) == 0)
|
||||
{
|
||||
// Need to open on top even if called from onOpen,
|
||||
|
|
|
|||
Loading…
Reference in New Issue