mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Sound generators and certain other editor-only meshes are no longer rendered.
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@39 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
e583ba6673
commit
b045938c85
@ -123,6 +123,11 @@ struct MeshLoader
|
||||
|
||||
void handleNiNode(NiNode data, NodePtr node)
|
||||
{
|
||||
// Ignore sound activators and similar objects.
|
||||
NiStringExtraData d = cast(NiStringExtraData) data.extra;
|
||||
if(d !is null && d.string == "MRK")
|
||||
return;
|
||||
|
||||
// Handle any effects here
|
||||
|
||||
// In the cases where meshes have skeletal animations, we must
|
||||
|
Loading…
Reference in New Issue
Block a user