Fix mixed line endings

This commit is contained in:
Zheng, Lei
2022-04-26 21:45:10 +08:00
committed by Chris Hennes
parent 2753dd4ca7
commit 3ef438eaf0
66 changed files with 344 additions and 344 deletions

View File

@@ -1261,9 +1261,9 @@ void ViewProviderMesh::panCamera(SoCamera * cam, float aspectratio, const SbPlan
const SbVec2f & currpos, const SbVec2f & prevpos)
{
if (cam == nullptr) // can happen for empty scenegraph
return;
return;
if (currpos == prevpos) // useless invocation
return;
return;
// Find projection points for the last and current mouse coordinates.