Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index 974a2e56d16..5e66250bd80 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -518,6 +518,11 @@ void KX_GameObject::ProcessReplica()
m_pGraphicController = NULL;
m_pPhysicsController = NULL;
m_pSGNode = NULL;
+
+ /* Dupli group and instance list are set later in replication.
+ * See KX_Scene::DupliGroupRecurse. */
+ m_pDupliGroupObject = NULL;
+ m_pInstanceObjects = NULL;
m_pClient_info = new KX_ClientObjectInfo(*m_pClient_info);
m_pClient_info->m_gameobject = this;
m_actionManager = NULL;