diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-25 18:37:39 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-25 18:37:39 +0400 |
commit | da1f38f99d3b8a07ed4ddd905f8e7d7c6e25f945 (patch) | |
tree | 71add2281425519cfd2c06e8d3d6e67cae2b83a7 /source/gameengine/Ketsji/KX_GameObject.h | |
parent | f680b56ebfc1415334598e619ec9310ccce472c2 (diff) |
Apply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 6e765978821..3758651f53d 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -75,6 +75,7 @@ protected: bool m_bSuspendDynamics; bool m_bUseObjectColor; + bool m_bIsNegativeScaling; MT_Vector4 m_objectColor; // Is this object set to be visible? Only useful for the @@ -599,6 +600,14 @@ public: ); /** + * Get the negative scaling state + */ + bool + IsNegativeScaling( + void + ) { return m_bIsNegativeScaling; } + + /** * @section Logic bubbling methods. */ |