Fix mixed line endings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user