mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-22 10:39:41 +00:00
Fix text
This commit is contained in:
parent
4b14818035
commit
08f7c73e02
1 changed files with 2 additions and 2 deletions
|
@ -29,14 +29,14 @@ void CSVRender::DrawTerrainSelectionCommand::tryUpdate()
|
||||||
{
|
{
|
||||||
if (!mWorldspaceWidget)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto terrainMode = dynamic_cast<CSVRender::TerrainShapeMode*>(mWorldspaceWidget->getEditMode());
|
auto terrainMode = dynamic_cast<CSVRender::TerrainShapeMode*>(mWorldspaceWidget->getEditMode());
|
||||||
if (!terrainMode)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue