summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.h
diff options
context:
space:
mode:
authorHecklezz <tj8@live.com.au>2025-04-24 23:46:42 +1000
committerHecklezz <tj8@live.com.au>2025-04-24 23:46:42 +1000
commit1970390478447364ea4b677a629233f5be820e74 (patch)
tree18688f1c2cf03e61048cd508ebf749a94b5621ff /indra/newview/llpanelface.h
parent3dc6c22401b3125f4605fa464ecdbab836a73882 (diff)
Autofit Blinn Phong normal and specular when using repeats per meter
Diffstat (limited to 'indra/newview/llpanelface.h')
-rw-r--r--indra/newview/llpanelface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h
index 9d28065934..2a2156f041 100644
--- a/indra/newview/llpanelface.h
+++ b/indra/newview/llpanelface.h
@@ -650,6 +650,8 @@ public:
static void getMaxSpecularRepeats(F32& repeats, bool& identical);
static void getMaxNormalRepeats(F32& repeats, bool& identical);
static void getCurrentDiffuseAlphaMode(U8& diffuse_alpha_mode, bool& identical, bool diffuse_texture_has_alpha);
+ static void selectionNormalScaleAutofit(LLPanelFace* panel_face, F32 repeats_per_meter);
+ static void selectionSpecularScaleAutofit(LLPanelFace* panel_face, F32 repeats_per_meter);
DEF_GET_MAT_STATE(LLUUID, const LLUUID&, getNormalID, LLUUID::null, false, LLUUID::null);
DEF_GET_MAT_STATE(LLUUID, const LLUUID&, getSpecularID, LLUUID::null, false, LLUUID::null);