aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelobject.h')
-rw-r--r--linden/indra/newview/llpanelobject.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelobject.h b/linden/indra/newview/llpanelobject.h
index 76b0dab..c734b38 100644
--- a/linden/indra/newview/llpanelobject.h
+++ b/linden/indra/newview/llpanelobject.h
@@ -43,6 +43,9 @@ class LLViewerObject;
43class LLComboBox; 43class LLComboBox;
44class LLPanelInventory; 44class LLPanelInventory;
45class LLColorSwatchCtrl; 45class LLColorSwatchCtrl;
46class LLTextureCtrl;
47class LLInventoryItem;
48class LLUUID;
46 49
47class LLPanelObject : public LLPanel 50class LLPanelObject : public LLPanel
48{ 51{
@@ -70,6 +73,11 @@ public:
70 static void onCommitParametric(LLUICtrl* ctrl, void* userdata); 73 static void onCommitParametric(LLUICtrl* ctrl, void* userdata);
71 74
72 static void onCommitMaterial( LLUICtrl* ctrl, void* userdata); 75 static void onCommitMaterial( LLUICtrl* ctrl, void* userdata);
76
77 static void onCommitSculpt( LLUICtrl* ctrl, void* userdata);
78 static void onCancelSculpt( LLUICtrl* ctrl, void* userdata);
79 static void onSelectSculpt( LLUICtrl* ctrl, void* userdata);
80 static BOOL onDropSculpt(LLUICtrl* ctrl, LLInventoryItem* item, void* ud);
73 81
74protected: 82protected:
75 void getState(); 83 void getState();
@@ -81,7 +89,8 @@ protected:
81 void sendIsTemporary(); 89 void sendIsTemporary();
82 void sendIsPhantom(); 90 void sendIsPhantom();
83 void sendCastShadows(); 91 void sendCastShadows();
84 92 void sendSculpt();
93
85 void getVolumeParams(LLVolumeParams& volume_params); 94 void getVolumeParams(LLVolumeParams& volume_params);
86 95
87protected: 96protected:
@@ -153,12 +162,16 @@ protected:
153 LLCheckBoxCtrl *mCheckPhantom; 162 LLCheckBoxCtrl *mCheckPhantom;
154 LLCheckBoxCtrl *mCheckCastShadows; 163 LLCheckBoxCtrl *mCheckCastShadows;
155 164
165 LLTextureCtrl *mCtrlSculptTexture;
166
156 LLVector3 mCurEulerDegrees; // to avoid sending rotation when not changed 167 LLVector3 mCurEulerDegrees; // to avoid sending rotation when not changed
157 BOOL mIsPhysical; // to avoid sending "physical" when not changed 168 BOOL mIsPhysical; // to avoid sending "physical" when not changed
158 BOOL mIsTemporary; // to avoid sending "temporary" when not changed 169 BOOL mIsTemporary; // to avoid sending "temporary" when not changed
159 BOOL mIsPhantom; // to avoid sending "phantom" when not changed 170 BOOL mIsPhantom; // to avoid sending "phantom" when not changed
160 BOOL mCastShadows; // to avoid sending "cast shadows" when not changed 171 BOOL mCastShadows; // to avoid sending "cast shadows" when not changed
161 S32 mSelectedType; // So we know what selected type we last were 172 S32 mSelectedType; // So we know what selected type we last were
173
174 LLUUID mSculptTextureRevert; // so we can revert the sculpt texture on cancel
162 175
163 LLPointer<LLViewerObject> mObject; 176 LLPointer<LLViewerObject> mObject;
164 LLPointer<LLViewerObject> mRootObject; 177 LLPointer<LLViewerObject> mRootObject;