forked from teamnwah/openmw-tes3coop
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
1 changed files with 5 additions and 0 deletions
|
@ -123,6 +123,11 @@ struct MeshLoader
|
||||||
|
|
||||||
void handleNiNode(NiNode data, NodePtr node)
|
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
|
// Handle any effects here
|
||||||
|
|
||||||
// In the cases where meshes have skeletal animations, we must
|
// In the cases where meshes have skeletal animations, we must
|
||||||
|
|
Loading…
Reference in a new issue