]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Change the default dependency angle value from 0.0 to 0.1 in vensim import (sysdyn...
authorjkauttio <jkauttio@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 27 May 2015 11:03:00 +0000 (11:03 +0000)
committerjkauttio <jkauttio@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 27 May 2015 11:03:00 +0000 (11:03 +0000)
refs #5644

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@31360 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/mdl/SketchConnection.java

index e4b292c1834fd81cd3a59eb5bfd66d16e84488cf..0a8b4a6c3377ded7f6152f5a65825c42a40be149 100644 (file)
@@ -128,7 +128,8 @@ public class SketchConnection extends SketchObject {
 \r
        private double getAngle(Sketch sketch) {\r
                if (points == null || points.length < 2) {\r
-                       return 0;\r
+                       // zero angles do not work right for some reason\r
+                       return 0.1;\r
                }\r
                \r
                SketchElement tail = (SketchElement)sketch.getObject(from);\r