mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Fix the initial normal vector for vertex fixups
This commit is contained in:
parent
3b29d280b9
commit
e8ff304562
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ class NIFMeshLoader : Ogre::ManualResourceLoader
|
|||
// better to transform the bones into bind position, but there doesn't seem to
|
||||
// be a reliable way to do that.
|
||||
std::vector<Ogre::Vector3> newVerts(srcVerts.size(), Ogre::Vector3(0.0f));
|
||||
std::vector<Ogre::Vector3> newNorms(srcNorms.size(), Ogre::Vector3(1.0f));
|
||||
std::vector<Ogre::Vector3> newNorms(srcNorms.size(), Ogre::Vector3(0.0f));
|
||||
|
||||
const Nif::NiSkinData *data = skin->data.getPtr();
|
||||
const Nif::NodeList &bones = skin->bones;
|
||||
|
|
Loading…
Reference in a new issue