Don't reset the view controls state just because we are setting the already active tool state again
This commit is contained in:
parent
032b5a6d65
commit
132ecee665
|
@ -1230,6 +1230,9 @@ bool TOOL_MANAGER::processEvent( const TOOL_EVENT& aEvent )
|
|||
|
||||
void TOOL_MANAGER::setActiveState( TOOL_STATE* aState )
|
||||
{
|
||||
if( m_activeState == aState )
|
||||
return;
|
||||
|
||||
if( m_activeState && m_viewControls )
|
||||
saveViewControls( m_activeState );
|
||||
|
||||
|
|
Loading…
Reference in New Issue