optimize vertices reselection during vertex manipulations

This commit is contained in:
Garux
2018-12-24 00:08:55 +03:00
parent ab0f376d4a
commit 9186d18353
2 changed files with 13 additions and 13 deletions
+2 -4
View File
@@ -309,10 +309,8 @@ void Brush::buildBRep(){
}
if( m_vertexModeOn ){
for( const auto& i : m_vertexModeVertices )
if( i.m_selected )
for ( Observers::iterator o = m_observers.begin(); o != m_observers.end(); ++o )
( *o )->vertex_select( i.m_vertexTransformed );
for ( Observers::iterator o = m_observers.begin(); o != m_observers.end(); ++o )
( *o )->vertex_select();
}
}
m_BRep_evaluation = false;