pull/593/head
unelsson 3 years ago
parent 4b14818035
commit 08f7c73e02

@ -29,14 +29,14 @@ void CSVRender::DrawTerrainSelectionCommand::tryUpdate()
{
if (!mWorldspaceWidget)
{
Log(Debug::Verbose) << "Can't undo terrain selection, no WorldspaceWidget found!";
Log(Debug::Verbose) << "Can't update terrain selection, no WorldspaceWidget found!";
return;
}
auto terrainMode = dynamic_cast<CSVRender::TerrainShapeMode*>(mWorldspaceWidget->getEditMode());
if (!terrainMode)
{
Log(Debug::Verbose) << "Can't undo terrain selection in current EditMode";
Log(Debug::Verbose) << "Can't update terrain selection in current EditMode";
return;
}

Loading…
Cancel
Save