Sketcher: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 13:25:06 -05:00
parent 190d64bdae
commit 1ee046788d
13 changed files with 62 additions and 31 deletions

View File

@@ -523,7 +523,8 @@ void ViewProviderSketch::getProjectingLine(const SbVec2s& pnt, const Gui::View3D
}
SoCamera* pCam = viewer->getSoRenderManager()->getCamera();
if (!pCam) return;
if (!pCam)
return;
SbViewVolume vol = pCam->getViewVolume();
vol.projectPointToLine(SbVec2f(pX,pY), line);