diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-10-15 22:46:23 +0200 |
---|---|---|
committer | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-10-15 22:46:23 +0200 |
commit | 7f090c3859eb1df99d77918307275146768dc495 (patch) | |
tree | c4b7ffa1a09e7a5340f136015ad43611482c743e | |
parent | 63a40347e361e19a4ea7aa02db96dd5cc6f3d8c3 (diff) |
Convert BOOL to bool
-rw-r--r-- | indra/newview/llagent.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llfloaterobjectweights.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llmodelpreview.cpp | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 4b758396de..6d03fdd61f 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -5028,7 +5028,7 @@ void LLAgent::applyExternalActionFlags(U32 outer_flags) if( delta_time > FLY_TIME && delta_frames > FLY_FRAMES) { - setFlying(TRUE); + setFlying(true); } } } diff --git a/indra/newview/llfloaterobjectweights.cpp b/indra/newview/llfloaterobjectweights.cpp index 45adb77c71..21aaed14c8 100644 --- a/indra/newview/llfloaterobjectweights.cpp +++ b/indra/newview/llfloaterobjectweights.cpp @@ -114,7 +114,7 @@ bool LLFloaterObjectWeights::postBuild() mTrianglesShown = getChild<LLTextBox>("triangles_shown"); mPixelArea = getChild<LLTextBox>("pixel_area"); - return TRUE; + return true; } // virtual diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 04abc5e5f4..ba4d4c08ed 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -2435,7 +2435,7 @@ void LLInventoryFavoritesItemsPanel::itemChanged(const LLUUID& id, U32 mask, con LLFavoritesCollector is_favorite; LLInventoryModel::cat_array_t cat_array; LLInventoryModel::item_array_t item_array; - gInventory.collectDescendentsIf(id, cat_array, item_array, FALSE, is_favorite); + gInventory.collectDescendentsIf(id, cat_array, item_array, false, is_favorite); for (LLInventoryModel::cat_array_t::const_iterator it = cat_array.begin(); it != cat_array.end(); ++it) { removeFavorite((*it)->getUUID(), *it); diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index 3e8b7f72e7..363e176fc8 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -3322,7 +3322,6 @@ bool LLModelPreview::render() fmp->setViewOptionEnabled("show_skin_weight", show_skin_weight); } } - //if (this) return TRUE; if (upload_skin && !has_skin_weights) { //can't upload skin weights if model has no skin weights |