mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 12:53:53 +00:00
Don't create meshes for collision shapes
This commit is contained in:
parent
9679daa6a4
commit
aefd12dfe0
1 changed files with 4 additions and 0 deletions
|
@ -1031,6 +1031,10 @@ public:
|
|||
|
||||
void createMeshes(const Nif::Node *node, MeshInfoList &meshes, int flags=0)
|
||||
{
|
||||
// Do not create meshes for the collision shape (includes all children)
|
||||
if(node->recType == Nif::RC_RootCollisionNode)
|
||||
return;
|
||||
|
||||
flags |= node->flags;
|
||||
|
||||
// Marker objects: just skip the entire node
|
||||
|
|
Loading…
Reference in a new issue