Skip to content

Commit

Permalink
Fix feedback in editor updates stopping polygon point updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjenssen committed Dec 6, 2024
1 parent 99ab51a commit 2347a74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ void RimPolygon::fieldChangedByUi( const caf::PdmFieldHandle* changedField, cons
RimPolygonTools::activate3dEditOfPolygonInView( this, activeView );

m_editPolygonButton = false;

return;
}
objectChanged.send();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@ void RimPolygonInView::appendMenuItems( caf::CmdFeatureMenuBuilder& menuBuilder
//--------------------------------------------------------------------------------------------------
void RimPolygonInView::onObjectChanged( const caf::SignalEmitter* emitter )
{
updateConnectedEditors();
// make sure name is in sync
if ( dynamic_cast<const RimPolygon*>( emitter ) )
{
setName( m_polygon->name() );
}
updateVisualization();
}

Expand Down

0 comments on commit 2347a74

Please sign in to comment.