Fixed FIRE-1316 - Pie menu selection doesn't flip to the other side anymore. Removed an unnecessary debugging message.

meow-7.2.2
ziree 2011-06-21 15:56:14 +02:00
parent 504c1b3cac
commit 2fcf017c1f
1 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ void PieMenu::hide()
// make a sound when hiding
make_ui_sound("UISndPieMenuHide");
llwarns << "Clearing selections" << llendl;
lldebugs << "Clearing selections" << llendl;
mSlices=&mMySlices;
#if PIE_POPUP_EFFECT
@ -265,7 +265,7 @@ void PieMenu::draw( void )
LLVector2 mouseVector(x-PIE_OUTER_SIZE/scale.mV[VX],y-PIE_OUTER_SIZE/scale.mV[VY]);
// get the distance from the center point
S32 distance=mouseVector.length();
F32 distance=mouseVector.length();
// check if our mouse pointer is within the pie slice area
if(distance>PIE_INNER_SIZE && (distance<(PIE_OUTER_SIZE*factor) || mFirstClick))
{