issue #4039: change name “position_x”, “position_y”, “size_width”, “size_height” to "converted_x", "converted_y", "converted_width", "converted_height".

This commit is contained in:
boyu0 2014-02-24 16:42:07 +08:00
parent 1082f3cad4
commit 2bc91c2ce3
1 changed files with 4 additions and 4 deletions

View File

@ -850,10 +850,10 @@ void TMXIsoObjectsTest::onDraw()
for (auto& obj : objects) for (auto& obj : objects)
{ {
ValueMap& dict = obj.asValueMap(); ValueMap& dict = obj.asValueMap();
float x = dict["positon_x"].asFloat(); float x = dict["converted_x"].asFloat();
float y = dict["positon_y"].asFloat(); float y = dict["converted_y"].asFloat();
float width = dict["size_width"].asFloat(); float width = dict["converted_width"].asFloat();
float height = dict["size_height"].asFloat(); float height = dict["converted_height"].asFloat();
glLineWidth(3); glLineWidth(3);