Skip to content

Commit

Permalink
(fixup) fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepSOIC committed Aug 8, 2016
1 parent 785e82d commit 8c9f204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Part/Gui/DlgRevolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ bool DlgRevolution::validate()
App::PropertyLinkSub lnk;
this->getAxisLink(lnk);
double angle_edge = 1e100;
axisLinkIsValid = Part::Revolution::fetchAxisLink(lnk, Base::Vector3d(), Base::Vector3d(), angle_edge);
Base::Vector3d axis, center;
axisLinkIsValid = Part::Revolution::fetchAxisLink(lnk, center, axis, angle_edge);
axisLinkHasAngle = angle_edge != 1e100;
} catch(Base::Exception &err) {
QMessageBox::critical(this, windowTitle(),
Expand Down

0 comments on commit 8c9f204

Please sign in to comment.