From 2eef1ebb15b900145cc47bc89c4c7ad95a5f6233 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 29 Aug 2010 04:05:22 -0700 Subject: Compile fixes for windlight notecards on windows --- linden/indra/newview/llinventorybridge.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'linden/indra/newview/llinventorybridge.cpp') diff --git a/linden/indra/newview/llinventorybridge.cpp b/linden/indra/newview/llinventorybridge.cpp index 712d2fe..bf2d898 100644 --- a/linden/indra/newview/llinventorybridge.cpp +++ b/linden/indra/newview/llinventorybridge.cpp @@ -823,16 +823,6 @@ void LLItemBridge::selectItem() { item->fetchFromServer(); } - - if (item && item->isComplete()) - { - bool is_windlight = (getName().length() > 2 && getName().compare(getName().length() - 3, 3, ".wl") == 0); - if(is_windlight) - { - LLWLParamManager::instance()->loadPresetNotecard(item->getName(), item->getAssetUUID(), mUUID); - } - } - } void LLItemBridge::restoreItem() @@ -3065,7 +3055,6 @@ void LLNotecardBridge::openItem() LLViewerInventoryItem* item = getItem(); if (item) { - bool is_windlight = (getName().length() > 2 && getName().compare(getName().length() - 3, 3, ".wl") == 0); if(isSkySetting()) { LLWLParamManager::instance()->loadPresetNotecard(item->getName(), item->getAssetUUID(), mUUID); -- cgit v1.1