2
0
Эх сурвалжийг харах

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

AzaezelX 11 сар өмнө
parent
commit
99bcf7ca3e

+ 1 - 1
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 )