Remove (almost) all references to pRenderer (#651)

Remove all references to pRenderer, except from the DebugDraw and LyShine Gems that are still being updated.
This commit is contained in:
bosnichd
2021-05-10 10:05:15 -06:00
committed by GitHub
parent 4a2e6a77b5
commit 440c40e490
191 changed files with 118 additions and 23548 deletions
-11
View File
@@ -30,7 +30,6 @@
#include "Include/HitContext.h"
#include "Objects/ObjectManager.h"
#include "Util/3DConnexionDriver.h"
#include "Util/Ruler.h"
#include "PluginManager.h"
#include "Include/IRenderListener.h"
#include "GameEngine.h"
@@ -1414,17 +1413,7 @@ bool QtViewport::MouseCallback(EMouseEvent event, const QPoint& point, Qt::Keybo
break;
}
//////////////////////////////////////////////////////////////////////////
// Asks Ruler to handle mouse callback.
CRuler* pRuler = GetIEditor()->GetRuler();
QPoint tempPoint(point.x(), point.y());
if (pRuler)
{
if (pRuler->MouseCallback(this, event, tempPoint, flags))
{
return true;
}
}
//////////////////////////////////////////////////////////////////////////
// Handle viewport manipulators.