diff options
author | Hecklezz <tj8@live.com.au> | 2025-04-24 23:46:42 +1000 |
---|---|---|
committer | Hecklezz <tj8@live.com.au> | 2025-04-24 23:46:42 +1000 |
commit | 1970390478447364ea4b677a629233f5be820e74 (patch) | |
tree | 18688f1c2cf03e61048cd508ebf749a94b5621ff /indra/newview/llpanelface.h | |
parent | 3dc6c22401b3125f4605fa464ecdbab836a73882 (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.h | 2 |
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); |