Skip to content

Commit

Permalink
Travis: Add SMESH7 dependencies for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
ickby authored and wwmayer committed Jun 15, 2016
1 parent 1ab9209 commit 59803ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -127,11 +127,14 @@ before_install:
pyside-tools \
xerces-c \
orocos-kdl \
hdf5 \
homebrew/science/oce \
homebrew/python/matplotlib
brew install vtk --without-python
brew install --with-oce homebrew/science/nglib
brew install --without-framework --without-soqt sanelson/freecad/coin
brew install --HEAD pivy
brew install bblacey/taps/med-file --with-python
#Install the 3DConnexion frameworks
if [ ! -d /Library/Frameworks/3DconnexionClient.framework ]; then
Expand Down
3 changes: 1 addition & 2 deletions src/Mod/PartDesign/App/FeatureGroove.cpp
Expand Up @@ -132,7 +132,6 @@ App::DocumentObjectExecReturn *Groove::execute(void)
TopExp_Explorer xp;
xp.Init(sketchshape, TopAbs_FACE);
for (;xp.More(); xp.Next()) {

if (checkLineCrossesFace(gp_Lin(pnt, dir), TopoDS::Face(xp.Current())))
return new App::DocumentObjectExecReturn("Revolve axis intersects the sketch");
}
Expand All @@ -158,7 +157,7 @@ App::DocumentObjectExecReturn *Groove::execute(void)
return new App::DocumentObjectExecReturn("Resulting shape is not a solid");

solRes = refineShapeIfActive(solRes);
this->Shape.setValue(solRes);
this->Shape.setValue(getSolid(solRes));
}
else
return new App::DocumentObjectExecReturn("Could not revolve the sketch!");
Expand Down

0 comments on commit 59803ff

Please sign in to comment.