소스 검색

noch ein fehler behoben

Kolja Strohm 6 년 전
부모
커밋
ad5eee3b4a
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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 );