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
This commit is contained in:
AzaezelX 2024-09-30 19:45:32 -05:00
parent 00e5482733
commit 99bcf7ca3e

View file

@ -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 )