Procházet zdrojové kódy

noch ein fehler behoben

Kolja Strohm před 6 roky
rodič
revize
ad5eee3b4a
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      src/bk/ExtremalLayoutCalc.java

+ 2 - 3
src/bk/ExtremalLayoutCalc.java

@@ -151,9 +151,8 @@ public class ExtremalLayoutCalc implements AlgorithmStage {
                 case UNFINISHED:
                     inside = true;
                 }
-                return StageStatus.UNFINISHED;
             }
-            if( status == LayoutState.COMPACTION )
+            else if( status == LayoutState.COMPACTION )
             {
             	if( !cpNode.isSelected() )
                 breakpoint |= !cpNode.setSelected( true );
@@ -207,7 +206,7 @@ public class ExtremalLayoutCalc implements AlgorithmStage {
                     inside = true;
                 }
             }
-            if( status == LayoutState.COMPACTION )
+            else if( status == LayoutState.COMPACTION )
             {
             	if( !cpNode.isSelected() )
             		breakpoint |= !cpNode.setSelected( true );