mirror of https://github.com/axmolengine/axmol.git
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:
parent
1082f3cad4
commit
2bc91c2ce3
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue