Ver Fonte

Fixed build error

Martin Edlund há 5 anos atrás
pai
commit
391be63b67

+ 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>