Explorar el Código

Properly mark Parent class of DebugDrawer for Console hierarchy

Lukas hace 5 años
padre
commit
47411e2d3a
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      Engine/source/gfx/sim/debugDraw.h

+ 1 - 2
Engine/source/gfx/sim/debugDraw.h

@@ -93,6 +93,7 @@ class GFont;
 ///
 class DebugDrawer : public SimObject
 {
+   typedef SimObject Parent;
 public:
    DECLARE_CONOBJECT(DebugDrawer);
 
@@ -162,8 +163,6 @@ public:
 
    /// @}
 private:
-   typedef SimObject Parent;
-
    static DebugDrawer* sgDebugDrawer;
 
    struct DebugPrim