Skip to content

Commit

Permalink
Fixes exceptions thrown by LineTool and PolygonTool
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Kater <[email protected]>
  • Loading branch information
akater320 authored and fgdrf committed Mar 27, 2019
1 parent 472651d commit a858a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
helper.add( new MoveVertexBehaviour() );
helper.add( new MoveGeometryBehaviour());
helper.stopMutualExclusiveList();
helper.stopAdvancedFeatures();


helper.startAdvancedFeatures();
helper.add( new SelectVerticesWithBoxBehaviour() );
helper.stopAdvancedFeatures();

helper.add( new AcceptOnDoubleClickBehaviour() );
helper.add( new SetSnapSizeBehaviour());
helper.add( new StartExtendLineBehaviour() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
helper.add( new MoveVertexBehaviour() );
helper.add( new MoveGeometryBehaviour());
helper.stopMutualExclusiveList();
helper.stopAdvancedFeatures();


helper.startAdvancedFeatures();
helper.add( new SelectVerticesWithBoxBehaviour() );
helper.stopAdvancedFeatures();

helper.add( new AcceptOnDoubleClickBehaviour() );
helper.add( new SetSnapSizeBehaviour());
helper.done();
Expand Down

0 comments on commit a858a63

Please sign in to comment.