diff options
| -rwxr-xr-x | indra/newview/llfloatersnapshot.cpp | 11 | 
1 files changed, 1 insertions, 10 deletions
| diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index 31b743b7e8..8037c22173 100755 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -813,16 +813,7 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL  		previewp->getSize(width, height); -		bool width_changed; -		if(getHeightSpinner(view)->isDirty()) -		{ -			width_changed = FALSE; -		} -		else -		{ -			width_changed = TRUE; -		} -		updateSpinners(view, previewp, width, height, width_changed); // may change width and height +		updateSpinners(view, previewp, width, height, !getHeightSpinner(view)->isDirty()); // may change width and height  		if(getWidthSpinner(view)->getValue().asInteger() != width || getHeightSpinner(view)->getValue().asInteger() != height)  		{ | 
