- BUGFIX: Fixed a crash in the normal-loader method of obj loader.
- CHANGE: Improve and fix a bug in texture coordinate loading in obj loader. - CHANGE: Use ai_assert instead of assert. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@112 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -57,8 +57,10 @@ struct Object;
|
||||
struct Model;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
/// \class ObjFileImporter
|
||||
/// \brief Imports a waveform obj file
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
class ObjFileImporter :
|
||||
BaseImporter
|
||||
{
|
||||
@@ -112,7 +114,7 @@ private:
|
||||
//! \brief Appends a child node to a parentnode and updates the datastructures.
|
||||
void appendChildToParentNode(aiNode *pParent, aiNode *pChild);
|
||||
|
||||
//! \brief
|
||||
//! \brief TODO!
|
||||
void createAnimations();
|
||||
|
||||
private:
|
||||
@@ -124,11 +126,15 @@ private:
|
||||
std::string m_strAbsPath;
|
||||
};
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
//
|
||||
inline void ObjFileImporter::GetExtensionList(std::string& append)
|
||||
{
|
||||
append.append("*.obj");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
} // Namespace Assimp
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user