Commit 1e65f32e authored by cutealien's avatar cutealien

Fix bug with ignored opening brace in .X files with DeclData section. Thx...

Fix bug with ignored opening brace in .X files with DeclData section. Thx @Alin for bugreport and patch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5169 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 609eba77
--------------------------
Changes in 1.9 (not yet released)
- Fix bug with ignored opening brace in .X files with DeclData section. Thx @Alin for bugreport and patch.
- Fix problem with OpenGL textures cache.
- Add clear buffer flags and marked some methods used for clear buffers as deprecated.
- Fix: CGUIImage no longer scales wrong when working with textures which don't have the original image size.
......
......@@ -883,6 +883,12 @@ bool CXMeshFileLoader::parseDataObjectMesh(SXMesh &mesh)
else
if (objectName == "DeclData")
{
if (!readHeadOfDataObject())
{
os::Printer::log("No starting brace in DeclData found.", ELL_WARNING);
os::Printer::log("Line", core::stringc(Line).c_str(), ELL_WARNING);
return false;
}
// arbitrary vertex attributes
// first comes the number of element definitions
// then the vertex element type definitions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment