From 78171d59fdc9859e791e2eb1558400ebee894067 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 18 Feb 2015 12:50:16 +0100 Subject: [PATCH] + fixes #0001972: FreeCAD crashes when using keyboard shortcut H to constrain a line --- src/Gui/Quarter/SoQTQuarterAdaptor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/Quarter/SoQTQuarterAdaptor.cpp b/src/Gui/Quarter/SoQTQuarterAdaptor.cpp index 8f24bcf805..26c12a7fb3 100644 --- a/src/Gui/Quarter/SoQTQuarterAdaptor.cpp +++ b/src/Gui/Quarter/SoQTQuarterAdaptor.cpp @@ -161,6 +161,7 @@ void SIM::Coin3D::Quarter::SoQTQuarterAdaptor::init() m_seekdistanceabs = FALSE; m_seekperiod = 2.0f; m_inseekmode = FALSE; + m_storedcamera = 0; m_seeksensor = new SoTimerSensor(SoQTQuarterAdaptor::seeksensorCB, (void*)this); getSoEventManager()->setNavigationState(SoEventManager::NO_NAVIGATION);