diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-09 23:18:53 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-09 23:18:53 (GMT) |
| commit | dc6398a33e3be47a83ff38b9bbabedcbe6756341 (patch) | |
| tree | 48de29237b65291e95c1618abd3ab8cbb7329372 /src/game/GameView.cpp | |
| parent | a989d977442674232a8512bb52ff06af1b93c58a (diff) | |
| download | powder-dc6398a33e3be47a83ff38b9bbabedcbe6756341.zip powder-dc6398a33e3be47a83ff38b9bbabedcbe6756341.tar.gz | |
fix deco sample tool with 1 px brush, fix deco sample also sampling HUD/other text
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 c8b4684..c352b79 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -1790,6 +1790,7 @@ void GameView::OnDraw() { ren->clearScreen(1.0f); ren->RenderBegin(); + ren->SetSample(c->PointTranslate(currentMouse).X, c->PointTranslate(currentMouse).Y); if(selectMode == SelectNone && (!zoomEnabled || zoomCursorFixed) && activeBrush && currentMouse.X >= 0 && currentMouse.X < XRES && currentMouse.Y >= 0 && currentMouse.Y < YRES) { ui::Point finalCurrentMouse = c->PointTranslate(currentMouse); |
