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