removed un-needed hack, something weired was going on when debugging that made the...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 28 Jun 2009 02:47:49 +0000 (02:47 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 28 Jun 2009 02:47:49 +0000 (02:47 +0000)
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h

index 43d67e111f3317bec8589fec9bd7da08c4dc2ff1..360794ceb33add7b05e661e5964eeb55b66bee04 100644 (file)
 #include <config.h>
 #endif
 
-// temp hack, prevents pointers being offset somehow, will need to look into this later - Campbell
-ARegion *m_ar;
-wmWindow *m_win;
-
 
 KX_BlenderCanvas::KX_BlenderCanvas(struct wmWindow *win, ARegion *ar) :
-__m_win(win),
-__m_ar(ar)
+m_win(win),
+m_ar(ar)
 {
-       m_ar= ar;
-       m_win= win;
 }
 
 KX_BlenderCanvas::~KX_BlenderCanvas()
index 41bbec7770c76ce11a725d95b3c61028bea3e5f3..fd41fb90f2fc76dd81e151e200ee3df876e10e24 100644 (file)
@@ -163,8 +163,8 @@ public:
 
 private:
        /** Blender area the game engine is running within */
-       struct ARegion* __m_ar;
-       struct wmWindow* __m_win;
+       struct ARegion* m_ar;
+       struct wmWindow* m_win;
        RAS_Rect        m_area_rect;
 };