aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatercustomize.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloatercustomize.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloatercustomize.cpp b/linden/indra/newview/llfloatercustomize.cpp
index 41bd8d7..3c5c9a5 100644
--- a/linden/indra/newview/llfloatercustomize.cpp
+++ b/linden/indra/newview/llfloatercustomize.cpp
@@ -379,6 +379,7 @@ public:
379 379
380 virtual BOOL postBuild(); 380 virtual BOOL postBuild();
381 virtual void draw(); 381 virtual void draw();
382 virtual BOOL isDirty() const; // LLUICtrl
382 383
383 void addSubpart(const LLString& name, ESubpart id, LLSubpart* part ); 384 void addSubpart(const LLString& name, ESubpart id, LLSubpart* part );
384 void addTextureDropTarget( LLVOAvatar::ETextureIndex te, const LLString& name, const LLUUID& default_image_id, BOOL allow_no_texture ); 385 void addTextureDropTarget( LLVOAvatar::ETextureIndex te, const LLString& name, const LLUUID& default_image_id, BOOL allow_no_texture );
@@ -395,7 +396,6 @@ public:
395 void setWearable(LLWearable* wearable, U32 perm_mask, BOOL is_complete); 396 void setWearable(LLWearable* wearable, U32 perm_mask, BOOL is_complete);
396 397
397 void addVisualParamToUndoBuffer( S32 param_id, F32 current_weight ); 398 void addVisualParamToUndoBuffer( S32 param_id, F32 current_weight );
398 BOOL isDirty();
399 399
400 void setUIPermissions(U32 perm_mask, BOOL is_complete); 400 void setUIPermissions(U32 perm_mask, BOOL is_complete);
401 401
@@ -558,6 +558,7 @@ void LLPanelEditWearable::setSubpart( ESubpart subpart )
558 sorted_params.insert(vt); 558 sorted_params.insert(vt);
559 } 559 }
560 gFloaterCustomize->generateVisualParamHints(NULL, sorted_params); 560 gFloaterCustomize->generateVisualParamHints(NULL, sorted_params);
561 gFloaterCustomize->updateScrollingPanelUI();
561 562
562 563
563 // Update the camera 564 // Update the camera
@@ -1030,7 +1031,7 @@ void LLPanelEditWearable::setVisible(BOOL visible)
1030 } 1031 }
1031} 1032}
1032 1033
1033BOOL LLPanelEditWearable::isDirty() 1034BOOL LLPanelEditWearable::isDirty() const
1034{ 1035{
1035 LLWearable* wearable = gAgent.getWearable( mType ); 1036 LLWearable* wearable = gAgent.getWearable( mType );
1036 if( !wearable ) 1037 if( !wearable )
@@ -2148,7 +2149,7 @@ void LLFloaterCustomize::draw()
2148 } 2149 }
2149} 2150}
2150 2151
2151BOOL LLFloaterCustomize::isDirty() 2152BOOL LLFloaterCustomize::isDirty() const
2152{ 2153{
2153 for(S32 i = 0; i < WT_COUNT; i++) 2154 for(S32 i = 0; i < WT_COUNT; i++)
2154 { 2155 {