From 54eee8e0a79898825b39749b38134f4369ccd3ab Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Mar 2015 00:07:38 -0400 Subject: Adjusted how resizing the map editor works Also added an informative label for the entity manager that currently lies --- tools/mapedit/src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/mapedit/src/widget.cpp') diff --git a/tools/mapedit/src/widget.cpp b/tools/mapedit/src/widget.cpp index ba3b6a5..a78caae 100644 --- a/tools/mapedit/src/widget.cpp +++ b/tools/mapedit/src/widget.cpp @@ -139,7 +139,7 @@ void MapeditWidget::OnClick(wxMouseEvent& event) int x = (event.GetPosition().x + vX) / scale - (addingEntity->getWidth() / 2); int y = (event.GetPosition().y + vY) / scale - (addingEntity->getHeight() / 2); - printf("%d,%d\n",x,y); + MapObjectEntry data; data.object = addingEntity; data.position = std::make_pair(x,y); -- cgit 1.4.1