From b282b83af2837e4f93cf544b91a36d3fa9c14504 Mon Sep 17 00:00:00 2001 From: Unreal-Dan <72595612+Unreal-Dan@users.noreply.github.com> Date: Wed, 20 Dec 2023 20:20:31 -0800 Subject: [PATCH] Daniel/core/menu initializer fix (#164) * minor fix --- VortexEngine/src/Menus/Menu.cpp | 1 + .../src/Patterns/Multi/Sequencer/SequencedPattern.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/VortexEngine/src/Menus/Menu.cpp b/VortexEngine/src/Menus/Menu.cpp index 3684051905..cd7da1f83b 100644 --- a/VortexEngine/src/Menus/Menu.cpp +++ b/VortexEngine/src/Menus/Menu.cpp @@ -10,6 +10,7 @@ #include "../Log/Log.h" Menu::Menu(const RGBColor &col, bool advanced) : + m_previewMode(), m_menuColor(col), m_targetLeds(MAP_LED_ALL), m_curSelection(0), diff --git a/VortexEngine/src/Patterns/Multi/Sequencer/SequencedPattern.cpp b/VortexEngine/src/Patterns/Multi/Sequencer/SequencedPattern.cpp index d65e64bc7f..b3e3639dba 100644 --- a/VortexEngine/src/Patterns/Multi/Sequencer/SequencedPattern.cpp +++ b/VortexEngine/src/Patterns/Multi/Sequencer/SequencedPattern.cpp @@ -12,7 +12,8 @@ SequencedPattern::SequencedPattern(const PatternArgs &args) : CompoundPattern(args), m_sequence(), - m_curSequence(0) + m_curSequence(0), + m_timer() { // SequencedPattern is an abstract class it cannot be directly // instantiated so we do not need to assign a pattern id @@ -21,7 +22,8 @@ SequencedPattern::SequencedPattern(const PatternArgs &args) : SequencedPattern::SequencedPattern(const PatternArgs &args, const Sequence &sequence) : CompoundPattern(args), m_sequence(sequence), - m_curSequence(0) + m_curSequence(0), + m_timer() { // SequencedPattern is an abstract class it cannot be directly // instantiated so we do not need to assign a pattern id