Merge pull request #1326 from Azaezel/alpha41/forestfix

fix forest editor failing to pop up a create new
This commit is contained in:
Brian Roberts 2024-09-30 20:25:20 -05:00 committed by GitHub
commit 5f6fe212a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 )