Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 605304 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/IVtkVTK/IVtkVTK_View.cxx (-1 / +1 lines)
Lines 151-157 bool IVtkVTK_View::DisplayToWorld (const gp_XY& theDisplayPnt, gp_XYZ& theWorldP Link Here
151
  myRenderer->SetDisplayPoint (theDisplayPnt.X(), theDisplayPnt.Y(), 0.0);
151
  myRenderer->SetDisplayPoint (theDisplayPnt.X(), theDisplayPnt.Y(), 0.0);
152
  myRenderer->DisplayToWorld();
152
  myRenderer->DisplayToWorld();
153
153
154
  vtkFloatingPointType* const aCoords = myRenderer->GetWorldPoint();
154
  double* const aCoords = myRenderer->GetWorldPoint();
155
  if (aCoords[3] == 0.0) // Point at infinity in homogeneous coordinates
155
  if (aCoords[3] == 0.0) // Point at infinity in homogeneous coordinates
156
  {
156
  {
157
    return false;
157
    return false;

Return to bug 605304