From 11d6d83bee94e475bc7ff54f8cb1a09120ed762e Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Mon, 13 Nov 2023 16:59:27 -0500
Subject: [PATCH] Make profile texture floater resizable

---
 indra/newview/llfloaterprofiletexture.cpp                      | 2 +-
 indra/newview/skins/default/xui/en/floater_profile_texture.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llfloaterprofiletexture.cpp b/indra/newview/llfloaterprofiletexture.cpp
index bf1f56a6d1c..20d7a69add4 100644
--- a/indra/newview/llfloaterprofiletexture.cpp
+++ b/indra/newview/llfloaterprofiletexture.cpp
@@ -115,7 +115,7 @@ void LLFloaterProfileTexture::updateDimensions()
         S32 width = old_floater_rect.getWidth() - old_image_rect.getWidth() + mLastWidth;
         S32 height = old_floater_rect.getHeight() - old_image_rect.getHeight() + mLastHeight;
 
-        const F32 MAX_DIMENTIONS = 512; // most profiles are supposed to be 256x256
+        const F32 MAX_DIMENTIONS = 1024; // most profiles are supposed to be 256x256
 
         S32 biggest_dim = llmax(width, height);
         if (biggest_dim > MAX_DIMENTIONS)
diff --git a/indra/newview/skins/default/xui/en/floater_profile_texture.xml b/indra/newview/skins/default/xui/en/floater_profile_texture.xml
index 3b351a33252..347b45f8f70 100644
--- a/indra/newview/skins/default/xui/en/floater_profile_texture.xml
+++ b/indra/newview/skins/default/xui/en/floater_profile_texture.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
 <floater
- can_resize="false"
+ can_resize="true"
  show_title="false"
  can_minimize="false"
  can_close="false"
-- 
GitLab