Gui/Mod: replace several reinterpret_cast with static_cast

This commit is contained in:
wmayer
2022-06-25 11:36:55 +02:00
parent 360b4282f7
commit e9890c0798
33 changed files with 64 additions and 66 deletions

View File

@@ -390,7 +390,7 @@ Py::Object View3DInventorViewerPy::setupEditingRoot(const Py::Tuple& args)
if(pynode!=Py_None) {
void* ptr = nullptr;
Base::Interpreter().convertSWIGPointerObj("pivy.coin", "SoNode *", pynode, &ptr, 0);
node = reinterpret_cast<SoNode*>(ptr);
node = static_cast<SoNode*>(ptr);
}
_viewer->setupEditingRoot(node,mat);
return Py::None();