Skip to content

Commit

Permalink
Mac pass (#2587)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunitaiLinden committed Sep 17, 2024
1 parent 870ffbd commit fd843d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indra/cmake/Tracy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ add_library( ll::tracy INTERFACE IMPORTED )

# default Tracy profiling on for test builds, but off for all others
string(TOLOWER ${VIEWER_CHANNEL} channel_lower)
if(WINDOWS AND channel_lower MATCHES "^second life test")
if(channel_lower MATCHES "^second life test")
option(USE_TRACY "Use Tracy profiler." ON)
else()
option(USE_TRACY "Use Tracy profiler." OFF)
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/llmeshrepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3900,6 +3900,7 @@ void LLMeshRepository::notifyLoadedMeshes()
for (auto iter = mSkinMap.begin(), ender = mSkinMap.end(); iter != ender;)
{
auto copy_iter = iter++;
LLUUID id = copy_iter->first;

//skinbytes += U64Bytes(sizeof(LLMeshSkinInfo));
//skinbytes += U64Bytes(copy_iter->second->mJointNames.size() * sizeof(std::string));
Expand All @@ -3913,7 +3914,6 @@ void LLMeshRepository::notifyLoadedMeshes()
}

// erase from background thread
LLUUID id = iter->first;
mThread->mWorkQueue.post([=]()
{
mThread->mSkinMap.erase(id);
Expand Down

0 comments on commit fd843d5

Please sign in to comment.