Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

npc visibility flags fix

  • Loading branch information...
commit 4b0099fb5b1c90214a14e0d387d52a2ed2668c0f 1 parent fa5a143
@scrawl authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 apps/openmw/mwrender/npcanimation.cpp
View
5 apps/openmw/mwrender/npcanimation.cpp
@@ -240,6 +240,7 @@ Ogre::Entity* NpcAnimation::insertBoundedPart(const std::string &mesh, std::stri
NIFLoader::load(mesh);
Entity* ent = mRend.getScene()->createEntity(mesh);
+ ent->setVisibilityFlags(RV_Actors);
base->attachObjectToBone(bonename, ent);
return ent;
@@ -249,9 +250,7 @@ void NpcAnimation::insertFreePart(const std::string &mesh, const std::string suf
NIFLoader::load(meshNumbered);
Ogre::Entity* ent = mRend.getScene()->createEntity(meshNumbered);
-
-
-
+ ent->setVisibilityFlags(RV_Actors);
insert->attachObject(ent);
entityparts.push_back(ent);
Please sign in to comment.
Something went wrong with that request. Please try again.