summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelface.h')
-rw-r--r--indra/newview/llpanelface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h
index 27c1bb5f33..0d8a86069d 100644
--- a/indra/newview/llpanelface.h
+++ b/indra/newview/llpanelface.h
@@ -102,6 +102,8 @@ public:
void refreshMedia();
void unloadMedia();
+ static void onGLTFMaterialUpdate(const LLUUID& object_id, S32 side);
+
/*virtual*/ void draw();
LLMaterialPtr createDefaultMaterial(LLMaterialPtr current_material)
@@ -174,6 +176,7 @@ protected:
//
// @param force_set_values forces spinners to set value even if they are focused
void updateUI(bool force_set_values = false);
+ void updateUIGLTF(LLViewerObject* objectp, bool& has_pbr_material, bool force_set_values);
// Convenience func to determine if all faces in selection have
// identical planar texgen settings during edits
@@ -226,6 +229,11 @@ protected:
static void onCommitGlow( LLUICtrl* ctrl, void *userdata);
static void onCommitPlanarAlign( LLUICtrl* ctrl, void* userdata);
static void onCommitRepeatsPerMeter( LLUICtrl* ctrl, void* userinfo);
+ static void onCommitGLTFTextureScaleU(LLUICtrl* ctrl, void* userinfo);
+ static void onCommitGLTFTextureScaleV(LLUICtrl* ctrl, void* userinfo);
+ static void onCommitGLTFRotation(LLUICtrl* ctrl, void* userinfo);
+ static void onCommitGLTFTextureTranslationU(LLUICtrl* ctrl, void* userinfo);
+ static void onCommitGLTFTextureTranslationV(LLUICtrl* ctrl, void* userinfo);
static void onClickAutoFix(void*);
static void onAlignTexture(void*);
static void onClickBtnLoadInvPBR(void* userdata);
@@ -283,6 +291,7 @@ private:
// Do NOT call updateUI from within this function.
//
void updateVisibility();
+ void updateVisibilityGLTF();
// Hey look everyone, a type-safe alternative to copy and paste! :)
//