diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-21 09:46:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-21 09:46:41 +0400 |
commit | f3ece5a108db0bdbefb4663ef4ebd9a7e039e263 (patch) | |
tree | cb6329453be169ef1ec49ef8b8d50a6b14364880 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | a1a0c8da13a7b91b0264c7535752864379f3d852 (diff) |
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index dfc8073303e..6979af10e0a 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -228,11 +228,11 @@ STR_String& KX_GameObject::GetName() } - +/* Set the name of the value */ void KX_GameObject::SetName(const char *name) { m_name = name; -}; // Set the name of the value +} KX_IPhysicsController* KX_GameObject::GetPhysicsController() { @@ -241,7 +241,7 @@ KX_IPhysicsController* KX_GameObject::GetPhysicsController() KX_GameObject* KX_GameObject::GetDupliGroupObject() { - return m_pDupliGroupObject; + return m_pDupliGroupObject; } CListValue* KX_GameObject::GetInstanceObjects() @@ -251,11 +251,11 @@ CListValue* KX_GameObject::GetInstanceObjects() void KX_GameObject::AddInstanceObjects(KX_GameObject* obj) { - if(!m_pInstanceObjects) + if (!m_pInstanceObjects) m_pInstanceObjects = new CListValue(); obj->AddRef(); - m_pInstanceObjects->Add(obj); + m_pInstanceObjects->Add(obj); } void KX_GameObject::RemoveInstanceObject(KX_GameObject* obj) @@ -267,7 +267,7 @@ void KX_GameObject::RemoveInstanceObject(KX_GameObject* obj) void KX_GameObject::RemoveDupliGroupObject() { - if(m_pDupliGroupObject) { + if (m_pDupliGroupObject) { m_pDupliGroupObject->Release(); m_pDupliGroupObject = NULL; } |