Kaynağa Gözat

Properly mark Parent class of DebugDrawer for Console hierarchy

Lukas 5 yıl önce
ebeveyn
işleme
47411e2d3a
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  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
 class DebugDrawer : public SimObject
 {
 {
+   typedef SimObject Parent;
 public:
 public:
    DECLARE_CONOBJECT(DebugDrawer);
    DECLARE_CONOBJECT(DebugDrawer);
 
 
@@ -162,8 +163,6 @@ public:
 
 
    /// @}
    /// @}
 private:
 private:
-   typedef SimObject Parent;
-
    static DebugDrawer* sgDebugDrawer;
    static DebugDrawer* sgDebugDrawer;
 
 
    struct DebugPrim
    struct DebugPrim