Merge pull request #1806 from Azaezel/byeByeVarVar2

more unused variable cleanups
This commit is contained in:
Anis 2016-10-23 21:04:36 +02:00 committed by GitHub
commit 60e258e5a9
31 changed files with 2 additions and 75 deletions

View file

@ -811,8 +811,6 @@ void Gizmo::on3DMouseDown( const Gui3DMouseEvent & event )
camPos = event.pos;
else
camPos = mCameraPos;
Point3F end = camPos + event.vec * smProjectDistance;
if ( 0 <= mSelectionIdx && mSelectionIdx <= 2 )
{

View file

@ -494,8 +494,6 @@ void GuiDecalEditorCtrl::renderScene(const RectI & updateRect)
PROFILE_SCOPE( GuiDecalEditorCtrl_renderScene );
GFXTransformSaver saver;
RectI bounds = getBounds();
ColorI hlColor(0,255,0,255);
ColorI regColor(255,0,0,255);

View file

@ -282,7 +282,6 @@ void RaiseHeightAction::process( Selection *sel, const Gui3DMouseEvent &evt, boo
return;
Point2I brushPos = brush->getPosition();
Point2I brushSize = brush->getSize();
GridPoint brushGridPoint = brush->getGridPoint();
Vector<GridInfo> cur; // the height at the brush position
@ -327,7 +326,6 @@ void LowerHeightAction::process(Selection * sel, const Gui3DMouseEvent &, bool s
return;
Point2I brushPos = brush->getPosition();
Point2I brushSize = brush->getSize();
GridPoint brushGridPoint = brush->getGridPoint();
Vector<GridInfo> cur; // the height at the brush position