Merge branch 'Release' of https://github.com/Lirusaito/SingularityViewer
This commit is contained in:
@@ -1023,7 +1023,7 @@ Found in Advanced->Rendering->Info Displays</string>
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>Boolean</string>
|
<string>Boolean</string>
|
||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<integer>1</integer>
|
<integer>0</integer>
|
||||||
</map>
|
</map>
|
||||||
<key>LiruShowLastNameResident</key>
|
<key>LiruShowLastNameResident</key>
|
||||||
<map>
|
<map>
|
||||||
|
|||||||
@@ -1216,8 +1216,8 @@ LLQuaternion LLManipRotate::dragUnconstrained( S32 x, S32 y )
|
|||||||
F32 dist_from_sphere_center = sqrt(delta_x * delta_x + delta_y * delta_y);
|
F32 dist_from_sphere_center = sqrt(delta_x * delta_x + delta_y * delta_y);
|
||||||
|
|
||||||
LLVector3 axis = mMouseDown % mMouseCur;
|
LLVector3 axis = mMouseDown % mMouseCur;
|
||||||
|
F32 angle = atan2(sqrtf(axis * axis), mMouseDown * mMouseCur);
|
||||||
axis.normVec();
|
axis.normVec();
|
||||||
F32 angle = acos(mMouseDown * mMouseCur);
|
|
||||||
LLQuaternion sphere_rot( angle, axis );
|
LLQuaternion sphere_rot( angle, axis );
|
||||||
|
|
||||||
if (is_approx_zero(1.f - mMouseDown * mMouseCur))
|
if (is_approx_zero(1.f - mMouseDown * mMouseCur))
|
||||||
@@ -1614,9 +1614,9 @@ LLQuaternion LLManipRotate::dragConstrained( S32 x, S32 y )
|
|||||||
mInSnapRegime = FALSE;
|
mInSnapRegime = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
angle = acos(mMouseCur * mMouseDown);
|
LLVector3 cross_product = mMouseDown % mMouseCur;
|
||||||
|
angle = atan2(sqrtf(cross_product * cross_product), mMouseCur * mMouseDown);
|
||||||
F32 dir = (mMouseDown % mMouseCur) * constraint_axis; // cross product
|
F32 dir = cross_product * constraint_axis; // cross product
|
||||||
if( dir < 0.f )
|
if( dir < 0.f )
|
||||||
{
|
{
|
||||||
angle *= -1.f;
|
angle *= -1.f;
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ void LLMediaRemoteCtrl::enableMediaButtons()
|
|||||||
|
|
||||||
play_media_enabled = true;
|
play_media_enabled = true;
|
||||||
media_icon_color = LLUI::sColorsGroup->getColor( "IconEnabledColor" );
|
media_icon_color = LLUI::sColorsGroup->getColor( "IconEnabledColor" );
|
||||||
|
/* <HACK: Temporary fix until I know how to correctly catch messages from CEF. - Router Gray>
|
||||||
LLViewerMediaImpl::EMediaStatus status = LLViewerParcelMedia::getStatus();
|
LLViewerMediaImpl::EMediaStatus status = LLViewerParcelMedia::getStatus();
|
||||||
switch(status)
|
switch(status)
|
||||||
{
|
{
|
||||||
@@ -216,6 +216,18 @@ void LLMediaRemoteCtrl::enableMediaButtons()
|
|||||||
// inherit defaults above
|
// inherit defaults above
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
if (LLViewerMedia::isParcelMediaPlaying())
|
||||||
|
{
|
||||||
|
stop_media_enabled = true;
|
||||||
|
play_media_enabled = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
stop_media_enabled = false;
|
||||||
|
play_media_enabled = true;
|
||||||
|
}
|
||||||
|
// </HACK - Router Gray>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7540,8 +7540,8 @@ Grant this request?
|
|||||||
<form name="form">
|
<form name="form">
|
||||||
<button
|
<button
|
||||||
index="-2"
|
index="-2"
|
||||||
name="Block"
|
name="Mute"
|
||||||
text="Block"/>
|
text="Mute"/>
|
||||||
<button
|
<button
|
||||||
index="-1"
|
index="-1"
|
||||||
name="Ignore"
|
name="Ignore"
|
||||||
@@ -7558,8 +7558,8 @@ Grant this request?
|
|||||||
<form name="form">
|
<form name="form">
|
||||||
<button
|
<button
|
||||||
index="-2"
|
index="-2"
|
||||||
name="Block"
|
name="Mute"
|
||||||
text="Block"/>
|
text="Mute"/>
|
||||||
<button
|
<button
|
||||||
index="-1"
|
index="-1"
|
||||||
name="Ignore"
|
name="Ignore"
|
||||||
@@ -7578,8 +7578,8 @@ Grant this request?
|
|||||||
</input>
|
</input>
|
||||||
<button
|
<button
|
||||||
index="-2"
|
index="-2"
|
||||||
name="Block"
|
name="Mute"
|
||||||
text="Block"/>
|
text="Mute"/>
|
||||||
<button
|
<button
|
||||||
index="-1"
|
index="-1"
|
||||||
name="Ignore"
|
name="Ignore"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
(This page does not pass the specified whitelist)
|
(This page does not pass the specified whitelist)
|
||||||
</text>
|
</text>
|
||||||
<line_editor
|
<line_editor
|
||||||
max_length_bytes="1024"
|
max_chars="1024"
|
||||||
bottom_delta="-24"
|
bottom_delta="-24"
|
||||||
enabled="true"
|
enabled="true"
|
||||||
follows="left|top"
|
follows="left|top"
|
||||||
|
|||||||
Reference in New Issue
Block a user