release bug
This commit is contained in:
parent
bfe406158e
commit
a962a91cc2
1 changed files with 6 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ using MatterHackers.MatterControl.PartPreviewWindow;
|
||||||
using MatterHackers.PolygonMesh;
|
using MatterHackers.PolygonMesh;
|
||||||
using MatterHackers.PolygonMesh.Processors;
|
using MatterHackers.PolygonMesh.Processors;
|
||||||
using MatterHackers.VectorMath;
|
using MatterHackers.VectorMath;
|
||||||
|
using static g3.SVGWriter;
|
||||||
|
|
||||||
namespace MatterHackers.MatterControl.DesignTools.Operations
|
namespace MatterHackers.MatterControl.DesignTools.Operations
|
||||||
{
|
{
|
||||||
|
|
@ -167,7 +168,11 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
||||||
#endif
|
#endif
|
||||||
if (this.GetVertexSource() != null)
|
if (this.GetVertexSource() != null)
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
Mesh = VertexSourceToMesh.Extrude(this.GetVertexSource(), height, bevel, InflatePathObject3D.GetJoinType(Style));
|
Mesh = VertexSourceToMesh.Extrude(this.GetVertexSource(), height, bevel, InflatePathObject3D.GetJoinType(Style));
|
||||||
|
#else
|
||||||
|
Mesh = VertexSourceToMesh.Extrude(this.GetVertexSource(), height, bevel, ClipperLib.JoinType.jtRound);
|
||||||
|
#endif
|
||||||
if (Mesh.Vertices.Count == 0)
|
if (Mesh.Vertices.Count == 0)
|
||||||
{
|
{
|
||||||
Mesh = null;
|
Mesh = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue