Browse Source

Skin weight normalization from master

Josh Engebretson 10 years ago
parent
commit
91f7e718b7
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Source/ToolCore/Import/OpenAssetImporter.cpp

+ 2 - 3
Source/ToolCore/Import/OpenAssetImporter.cpp

@@ -81,7 +81,7 @@ OpenAssetImporter::OpenAssetImporter(Context* context) : Object(context) ,
         aiProcess_Triangulate |
         aiProcess_Triangulate |
         aiProcess_GenSmoothNormals |
         aiProcess_GenSmoothNormals |
         aiProcess_LimitBoneWeights |
         aiProcess_LimitBoneWeights |
-        aiProcess_ImproveCacheLocality |        
+        aiProcess_ImproveCacheLocality |
         aiProcess_FixInfacingNormals |
         aiProcess_FixInfacingNormals |
         aiProcess_FindInvalidData |
         aiProcess_FindInvalidData |
         aiProcess_GenUVCoords |
         aiProcess_GenUVCoords |
@@ -248,7 +248,7 @@ bool OpenAssetImporter::ExportModel(const String& outName, const String &animNam
         return false;
         return false;
     }
     }
 
 
-    ResourceCache* cache = GetSubsystem<ResourceCache>();    
+    ResourceCache* cache = GetSubsystem<ResourceCache>();
     Model* mdl = cache->GetResource<Model>( model.outName_);
     Model* mdl = cache->GetResource<Model>( model.outName_);
 
 
     // Force a reload, though file watchers will catch this delayed and load again
     // Force a reload, though file watchers will catch this delayed and load again
@@ -1320,4 +1320,3 @@ void OpenAssetImporter::DumpNodes(aiNode* rootNode, unsigned level)
 }
 }
 
 
 }
 }
-