소스 검색

Merge pull request #1326 from Azaezel/alpha41/forestfix

fix forest editor failing to pop up a create new
Brian Roberts 11 달 전
부모
커밋
5f6fe212a7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/forest/editor/forestEditorCtrl.cpp

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