Issue 183 in opencollada: Regression on COLLADASaxFWL::loadDocument(String, char*, IWriter)

2 views
Skip to first unread message

openc...@googlecode.com

unread,
Jan 24, 2012, 4:28:01 AM1/24/12
to opencolla...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 183 by Clement...@gmail.com: Regression on
COLLADASaxFWL::loadDocument(String, char*, IWriter)
http://code.google.com/p/opencollada/issues/detail?id=183

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.

Attachments:
loadDocument.patch 536 bytes

Reply all
Reply to author
Forward
0 new messages