Skip to content

Commit

Permalink
Fixed slice offset for tabs
Browse files Browse the repository at this point in the history
Added a small amount to tolerate slightly imperfect models
  • Loading branch information
xenovacivus committed Mar 31, 2014
1 parent 17e950b commit 8fc62a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/TriangleMeshGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void GenerateTabPaths(float toolRadius)
tabs.Clear();
try
{
Slice s = new Slice(this, new Plane(Vector3.UnitZ, new Vector3(0, 0, MinPoint.Z)));
Slice s = new Slice(this, new Plane(Vector3.UnitZ, new Vector3(0, 0, MinPoint.Z + 0.002f)));
foreach (var line in s.GetLines(Slice.LineType.Outside))
{
tabs.Add(new TabsGUI(line, toolRadius, false));
Expand Down

0 comments on commit 8fc62a3

Please sign in to comment.