Merge pull request #401 from NoboKani/Preview4_0

Fixing bug Terrain Editor bug #91
This commit is contained in:
Brian Roberts 2020-12-08 15:39:40 -06:00 committed by GitHub
commit bd151a600f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1897,6 +1897,9 @@ void TerrainEditor::on3DMouseDragged(const Gui3DMouseEvent & event)
selChanged = gMouse != gLastMouse; selChanged = gMouse != gLastMouse;
} }
if ( mMouseDown )
return;
mCurrentAction->process( mMouseBrush, event, true, TerrainAction::Update ); mCurrentAction->process( mMouseBrush, event, true, TerrainAction::Update );
} }