|
|
@ -274,12 +274,14 @@ void ManualBulletShapeLoader::handleNode(const Nif::Node *node, int flags,
|
|
|
|
// No collision. Use an internal flag setting to mark this.
|
|
|
|
// No collision. Use an internal flag setting to mark this.
|
|
|
|
flags |= 0x800;
|
|
|
|
flags |= 0x800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (sd->string == "MRK" && !mShowMarkers)
|
|
|
|
else if (sd->string == "MRK" && !mShowMarkers && raycasting)
|
|
|
|
// Marker objects. These are only visible in the
|
|
|
|
{
|
|
|
|
// editor.
|
|
|
|
// Marker objects should be invisible, but still have collision.
|
|
|
|
|
|
|
|
// Except in the editor, the marker objects are visible.
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (isCollisionNode || (mShape->mAutogenerated && !raycasting))
|
|
|
|
if (isCollisionNode || (mShape->mAutogenerated && !raycasting))
|
|
|
|
{
|
|
|
|
{
|
|
|
|