From 842ed39584b3df814c290931d750a1bf3b982cf3 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 29 Jul 2022 12:10:05 -0400 Subject: DRTVWR-559: Revert "Revert "Fix minor Mac build issues."" Try to reapply the original commit in such a way that it can be pushed. This reverts commit eaebe8fe70985f6d25cf883867f19617164ead81. --- indra/newview/llinventorybridge.cpp | 4 ++-- indra/newview/llmaterialeditor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index d325831c8f..03c6996de6 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -785,7 +785,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, if (obj) { - if (obj->getType() != LLInventoryType::IT_CATEGORY) + if (obj->getType() != LLAssetType::AT_CATEGORY) { items.push_back(std::string("Copy Separator")); } @@ -881,7 +881,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, } } - if (obj->getType() != LLInventoryType::IT_CATEGORY) + if (obj->getType() != LLAssetType::AT_CATEGORY) { items.push_back(std::string("Paste Separator")); } diff --git a/indra/newview/llmaterialeditor.h b/indra/newview/llmaterialeditor.h index 4df991be39..3da59c7f93 100644 --- a/indra/newview/llmaterialeditor.h +++ b/indra/newview/llmaterialeditor.h @@ -57,7 +57,7 @@ public: void setFromGLTFMaterial(LLGLTFMaterial* mat); - void loadAsset(); + void loadAsset() override; static void onLoadComplete(const LLUUID& asset_uuid, LLAssetType::EType type, void* user_data, S32 status, LLExtStat ext_status); -- cgit v1.2.3