Navigation Menu

Skip to content

Commit

Permalink
TechDraw: fix face based projection direction detection
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Aug 17, 2019
1 parent 62423cb commit c555a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/Gui/DrawGuiUtil.cpp
Expand Up @@ -248,7 +248,7 @@ std::pair<Base::Vector3d,Base::Vector3d> DrawGuiUtil::getProjDirFromFace(App::Do
projDir = d3Dirs.first;
rotVec = d3Dirs.second;

auto ts = Part::Feature::getShape(obj,faceName.c_str());
auto ts = Part::Feature::getShape(obj,faceName.c_str(),true);
if(ts.IsNull() || ts.ShapeType()!=TopAbs_FACE) {
Base::Console().Warning("getProjDirFromFace(%s) is not a Face\n",faceName.c_str());
return dirs;
Expand Down

0 comments on commit c555a82

Please sign in to comment.