diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-13 09:56:55 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-13 09:56:55 -0700 |
commit | 76bf3390eb119a7dfd879bbbc31b4d5e687aac8f (patch) | |
tree | c9ffb43b525d5c73915603690fe51c329ef124c6 /indra/newview/llfetchedgltfmaterial.h | |
parent | 2d10941459cf66d34073925c136d70bd6dbece3f (diff) |
DRTVWR-592: (WIP) Detect when terrain materials are loaded, use as fallback when terrain textures do not load
Diffstat (limited to 'indra/newview/llfetchedgltfmaterial.h')
-rw-r--r-- | indra/newview/llfetchedgltfmaterial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfetchedgltfmaterial.h b/indra/newview/llfetchedgltfmaterial.h index 1668657281..ce4d33a213 100644 --- a/indra/newview/llfetchedgltfmaterial.h +++ b/indra/newview/llfetchedgltfmaterial.h @@ -49,6 +49,7 @@ public: void bind(LLViewerTexture* media_tex = nullptr); bool isFetching() const { return mFetching; } + bool isLoaded() const { return !mFetching; } // Textures used for fetching/rendering LLPointer<LLViewerFetchedTexture> mBaseColorTexture; |