소스 검색

Fixed build error

Martin Edlund 5 년 전
부모
커밋
391be63b67
2개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 7
      SketchAssistant/SketchAssistantWPF/MVP_Model.cs
  2. 0 2
      SketchAssistant/SketchAssistantWPF/SketchAssistantWPF.csproj

+ 0 - 7
SketchAssistant/SketchAssistantWPF/MVP_Model.cs

@@ -97,8 +97,6 @@ namespace SketchAssistantWPF
 
         List<Point> currentLine = new List<Point>();
 
-        RedrawManager redrawMan;
-
         public MVP_Model(MVP_Presenter presenter)
         {
             programPresenter = presenter;
@@ -220,7 +218,6 @@ namespace SketchAssistantWPF
         {
             leftImageSize = new ImageDimension(width, height);
             rightImageSize = new ImageDimension(width, height);
-            redrawMan = new RedrawManager(listOfLines);
             leftLineList = listOfLines;
             graphicLoaded = true;
             programPresenter.UpdateLeftLines(leftLineList);
@@ -388,10 +385,6 @@ namespace SketchAssistantWPF
             {
                 currentLine.Add(currentCursorPosition);
                 //programPresenter.UpdateCurrentLine(currentLine);
-                if (redrawMan != null)
-                {
-                    Console.WriteLine("ANGLE {0}", redrawMan.GetDirection(currentCursorPosition));
-                }
             }
             //Deleting
             if (!inDrawingMode && programPresenter.IsMousePressed())

+ 0 - 2
SketchAssistant/SketchAssistantWPF/SketchAssistantWPF.csproj

@@ -83,8 +83,6 @@
     <Compile Include="FileImporterException.cs" />
     <Compile Include="GeometryCalculator.cs" />
     <Compile Include="ImageDimension.cs" />
-    <Compile Include="RedrawLine.cs" />
-    <Compile Include="RedrawManager.cs" />
     <Compile Include="SketchAction.cs" />
     <Page Include="MainWindow.xaml">
       <Generator>MSBuild:Compile</Generator>