summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeraph Linden <none@none>2011-04-03 22:10:41 -0400
committerSeraph Linden <none@none>2011-04-03 22:10:41 -0400
commit3d25b9adb50a5ed146121202fd0f25861b31b9ec (patch)
tree4dabbdbd2f7255c5220fb884ba3a01921d1bd9b9
parent62ebe50a561694d2072dcf4db27119303c686bb8 (diff)
Fixed issue where changes in physics params were not being transmitted to other avatars.
Fixed issue where left/right was appearing in non-female edit physics.
-rw-r--r--indra/newview/character/avatar_lad.xml4
-rw-r--r--indra/newview/llvoavatarself.cpp7
2 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/character/avatar_lad.xml b/indra/newview/character/avatar_lad.xml
index d0158cf9f8..85899603ee 100644
--- a/indra/newview/character/avatar_lad.xml
+++ b/indra/newview/character/avatar_lad.xml
@@ -12224,6 +12224,7 @@ render_pass="bump">
<param
id="10029"
group="0"
+ sex="female"
name="Breast_Physics_LeftRight_Max_Effect"
label="Breast Physics LeftRight Max Effect"
wearable="physics"
@@ -12236,6 +12237,7 @@ render_pass="bump">
<param
id="10030"
group="0"
+ sex="female"
name="Breast_Physics_LeftRight_Spring"
label="Breast Physics LeftRight Spring"
wearable="physics"
@@ -12248,6 +12250,7 @@ render_pass="bump">
<param
id="10031"
group="0"
+ sex="female"
name="Breast_Physics_LeftRight_Gain"
label="Breast Physics LeftRight Gain"
wearable="physics"
@@ -12260,6 +12263,7 @@ render_pass="bump">
<param
id="10032"
group="0"
+ sex="female"
name="Breast_Physics_LeftRight_Damping"
label="Breast Physics LeftRight Damping"
wearable="physics"
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 5f9e343907..799ed433d7 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -1017,6 +1017,13 @@ void LLVOAvatarSelf::wearableUpdated( LLWearableType::EType type, BOOL upload_re
}
}
}
+
+ // Physics type has no associated baked textures, but change of params needs to be sent to
+ // other avatars.
+ if (type == LLWearableType::WT_PHYSICS)
+ {
+ gAgent.sendAgentSetAppearance();
+ }
}
//-----------------------------------------------------------------------------