diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-07-18 23:56:56 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-07-18 23:56:56 +0400 |
commit | 5e2ee191877d1073a20da32c52d9e97cfab8f5c8 (patch) | |
tree | a9e07ed9c74ea52334f2059e2511a15f84888776 /source/gameengine/SceneGraph/SG_Node.h | |
parent | a397b4b82fb9c658bb9e034e96692b9e5af5819a (diff) |
BGE patch: support for partial hierarchy in dupligroup instantiation; removal of links that point to inactive objects during group instantiation.
This situation corresponds to a group containing only a portion
of a parent hierarchy (the Apricot team needed that to avoid
logic duplication). The BGE will instantiate only the
children that are in the group so that it follows the 3D view
more closely.
As a result, the logic links to the objects in the portion of the
hierarchy that was not replicated will point to inactive objects
(if the groups are stored in inactive layers as they should be).
To keep the logic system consistent, these links are automatically
removed.
This last part of the patch is a general fix that could go in
2.47 but as this situation does not normally occurs in pre-2.47
games, it is not needed.
Diffstat (limited to 'source/gameengine/SceneGraph/SG_Node.h')
-rw-r--r-- | source/gameengine/SceneGraph/SG_Node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/SceneGraph/SG_Node.h b/source/gameengine/SceneGraph/SG_Node.h index f86e3046d93..ffaaad861e2 100644 --- a/source/gameengine/SceneGraph/SG_Node.h +++ b/source/gameengine/SceneGraph/SG_Node.h @@ -205,7 +205,7 @@ private: void ProcessSGReplica( - SG_Node* replica + SG_Node** replica ); /** |