fix selecting another element turning off find tool
This commit is contained in:
parent
6ef0f065a6
commit
3b428789c7
@ -705,7 +705,7 @@ void GameView::NotifyActiveToolsChanged(GameModel * sender)
|
||||
if (sender->GetRenderer()->findingElement)
|
||||
{
|
||||
Tool *active = sender->GetActiveTool(0);
|
||||
if (active->GetIdentifier().Contains("_PT_"))
|
||||
if (!active->GetIdentifier().Contains("_PT_"))
|
||||
ren->findingElement = 0;
|
||||
else
|
||||
ren->findingElement = sender->GetActiveTool(0)->GetToolID()%256;
|
||||
|
Reference in New Issue
Block a user