Bugs in JSON loader

Report problems here (or use the built-in feedback dialog in the editor)
Post Reply
sijieshuai
Posts: 13
Joined: Tue May 14, 2013 1:51 pm

Bugs in JSON loader

Post by sijieshuai » Mon Jun 24, 2013 5:22 am

The member functions :
void b2dJson::readIntoWorldFromValue(b2World *world, Json::Value worldValue);
void b2dJson:: readIntoWorldFromString(b2World *world, Json::Value worldValue);
void b2dJson:: readIntoWorldFromFile(b2World *world, Json::Value worldValue);
in b2dJson.cpp have return values in the function bodies, compile errors occur.
The b2dJson.cpp file in my project is the latest version I cloned from your git repository.

iforce2d
Site Admin
Posts: 860
Joined: Sat Dec 22, 2012 7:20 pm

Re: Bugs in JSON loader

Post by iforce2d » Mon Jun 24, 2013 5:57 pm

I don't recall writing those functions... I guess I should have checked the pull request :)
Thanks for the report!

Post Reply