Gui/Mod: replace several reinterpret_cast with static_cast
This commit is contained in:
@@ -588,7 +588,7 @@ void CurveOnMeshHandler::closeWire()
|
||||
|
||||
void CurveOnMeshHandler::Private::vertexCallback(void * ud, SoEventCallback * cb)
|
||||
{
|
||||
Gui::View3DInventorViewer* view = reinterpret_cast<Gui::View3DInventorViewer*>(cb->getUserData());
|
||||
Gui::View3DInventorViewer* view = static_cast<Gui::View3DInventorViewer*>(cb->getUserData());
|
||||
const SoEvent* ev = cb->getEvent();
|
||||
if (ev->getTypeId() == SoMouseButtonEvent::getClassTypeId()) {
|
||||
// set as handled
|
||||
|
||||
Reference in New Issue
Block a user