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

@@ -943,7 +943,7 @@ Py::Object View3DInventorPy::viewPosition(const Py::Tuple& args)
}
SoCamera* cam = getView3DIventorPtr()->getViewer()->getSoRenderManager()->getCamera();
if (!cam)
if (!cam)
return Py::None();
SbRotation rot = cam->orientation.getValue();
@@ -1785,7 +1785,7 @@ void View3DInventorPy::eventCallback(void * ud, SoEventCallback * n)
Py::Dict dict;
const SoEvent* e = n->getEvent();
if (!e) // invalid event
return;
return;
// Type
dict.setItem("Type", Py::String(std::string(e->getTypeId().getName().getString())));
// Time