lesliejaneth / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Regression on COLLADASaxFWL::loadDocument(String, char*, IWriter) #183

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've noticed a regression in file COLLADASaxFWLLoader.cpp on revision 811 in 
method bool Loader::loadDocument( const String& uri, const char* buffer, int 
length, COLLADAFW::IWriter* writer )

Line 277 the line
    fileLoader.load( buffer, length );
has been replaced by 
    bool success = fileLoader.load();

Consequence is that it is impossible to load from a buffer.

Attached is a patch that should fix the problem.

Original issue reported on code.google.com by Clement.Forest@gmail.com on 24 Jan 2012 at 9:27

Attachments: