diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-09 03:24:34 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-09 03:24:34 (GMT) |
| commit | 1359045b14a455c5ee54a7b066e606a3b76368b0 (patch) | |
| tree | e870d360cd4c70338ee0f217361851f1fe947b74 /src/game/GameView.cpp | |
| parent | b8d53b5f7659f6b95f025a900d3b9982400dcc59 (diff) | |
| download | powder-1359045b14a455c5ee54a7b066e606a3b76368b0.zip powder-1359045b14a455c5ee54a7b066e606a3b76368b0.tar.gz | |
fix tpt.selectedl not updating with sample brush, always put photons[] on top in HUD
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 5c7d0be..3e874e2 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -596,14 +596,17 @@ void GameView::NotifyActiveToolsChanged(GameModel * sender) if(sender->GetActiveTool(0) == tool) { toolButtons[i]->SetSelectionState(0); //Primary + c->ActiveToolChanged(0, tool); } else if(sender->GetActiveTool(1) == tool) { toolButtons[i]->SetSelectionState(1); //Secondary + c->ActiveToolChanged(1, tool); } else if(sender->GetActiveTool(2) == tool) { toolButtons[i]->SetSelectionState(2); //Tertiary + c->ActiveToolChanged(2, tool); } else { |
