diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-13 16:43:41 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-13 16:43:41 (GMT) |
| commit | 4032a0469b1f40f7197468f34986e365bd6e7314 (patch) | |
| tree | f324519139168068628f8d6e0fc8046001c9c0a1 /src/game/GameView.cpp | |
| parent | a2e91c247fab4a2cee8936d83979f4a72390f7e7 (diff) | |
| download | powder-4032a0469b1f40f7197468f34986e365bd6e7314.zip powder-4032a0469b1f40f7197468f34986e365bd6e7314.tar.gz | |
Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index cfc6a19..c05ca12 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -599,6 +599,7 @@ void GameView::OnMouseUp(int x, int y, unsigned button) } if(drawMode == DrawPoints) { + c->ToolClick(toolIndex, ui::Point(x, y)); pointQueue.push(new ui::Point(x, y)); } if(drawModeReset) |
