Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix build failure
  • Loading branch information
wwmayer committed Dec 29, 2016
1 parent 16ce8d4 commit 5fbcb99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/App/DrawProjectSplit.cpp
Expand Up @@ -125,7 +125,7 @@ std::vector<TopoDS_Edge> DrawProjectSplit::getEdgesForWalker(TopoDS_Shape shape,


TechDrawGeometry::GeometryObject* DrawProjectSplit::buildGeometryObject(TopoDS_Shape shape,
gp_Ax2 viewAxis)
const gp_Ax2& viewAxis)
{
TechDrawGeometry::GeometryObject* geometryObject = new TechDrawGeometry::GeometryObject("DrawProjectSplit");

Expand Down
3 changes: 2 additions & 1 deletion src/Mod/TechDraw/App/DrawProjectSplit.h
Expand Up @@ -36,6 +36,7 @@
#include <Base/BoundBox.h>

class gp_Pnt;
class gp_Ax2;

namespace TechDrawGeometry
{
Expand Down Expand Up @@ -79,7 +80,7 @@ class TechDrawExport DrawProjectSplit

public:
static std::vector<TopoDS_Edge> getEdgesForWalker(TopoDS_Shape shape, double scale, Base::Vector3d direction);
static TechDrawGeometry::GeometryObject* buildGeometryObject(TopoDS_Shape shape, gp_Ax2 viewAxis);
static TechDrawGeometry::GeometryObject* buildGeometryObject(TopoDS_Shape shape, const gp_Ax2& viewAxis);

static bool isOnEdge(TopoDS_Edge e, TopoDS_Vertex v, double& param, bool allowEnds = false);
static std::vector<TopoDS_Edge> splitEdges(std::vector<TopoDS_Edge> orig, std::vector<splitPoint> splits);
Expand Down

0 comments on commit 5fbcb99

Please sign in to comment.