From 8ef5f8a827128cfc02247cfcd91bce391db7bd16 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sun, 20 Jul 2025 14:51:18 -0500 Subject: [PATCH] CAM: Add missing initializers --- src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h | 2 +- src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h index 02a2494ef5..223abbe591 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h +++ b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h @@ -66,7 +66,7 @@ struct GuiItem unsigned int flags {}; bool mouseOver {}; TextureItem texItem {}; - QString toolTip; + QString toolTip {}; int posx() { diff --git a/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp b/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp index 8794065d50..4893cb951f 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/MillSimulation.cpp @@ -32,7 +32,7 @@ namespace MillSim MillSimulation::MillSimulation() { - mCurMotion = {eNop, -1, 0, 0, 0, 0, 0, 0, 0}; + mCurMotion = {eNop, -1, 0, 0, 0, 0, 0, 0, 0, '\0', 0.0}; guiDisplay.SetMillSimulator(this); }