Explorar el Código

noch ein fehler behoben

Kolja Strohm hace 6 años
padre
commit
ad5eee3b4a
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  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 );