diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 01:33:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-27 01:33:43 +0300 |
commit | 839ac92f651d456db40ffaebefab87172fdeedba (patch) | |
tree | 0846e137ab735bca2cb36811efc9e549a1c3ccc3 /source/gameengine/BlenderRoutines | |
parent | 5d333f72c399443205b1b5fa26ccc12b2c31e62d (diff) |
added SetDisplayArea, GetDisplayArea was used in a confusing way
Diffstat (limited to 'source/gameengine/BlenderRoutines')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderCanvas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h index d49c877f610..f3228f4b524 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h @@ -116,10 +116,10 @@ public: return m_displayarea; }; - RAS_Rect & - GetDisplayArea( + void + SetDisplayArea(RAS_Rect *rect ) { - return m_displayarea; + m_displayarea= *rect; }; RAS_Rect & |