From 99bcf7ca3e175145bf93f08acaf5e03aae5d63f1 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 30 Sep 2024 19:45:32 -0500 Subject: [PATCH] fix forest editor failing to pop up a create new reminder note for if switches in c++, it it fails once in an or evaluation, that's it. it does not try other portions --- Engine/source/forest/editor/forestEditorCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/forest/editor/forestEditorCtrl.cpp b/Engine/source/forest/editor/forestEditorCtrl.cpp index f43a1b23d..9735cf191 100644 --- a/Engine/source/forest/editor/forestEditorCtrl.cpp +++ b/Engine/source/forest/editor/forestEditorCtrl.cpp @@ -160,7 +160,7 @@ void ForestEditorCtrl::get3DCursor( GuiCursor *&cursor, void ForestEditorCtrl::on3DMouseDown( const Gui3DMouseEvent &evt ) { - if ( !mForest || !updateActiveForest( true ) ) + if ( !mForest && !updateActiveForest( true ) ) return; if ( mTool )