Clear terrain painting when applying presets (fix #6)
This fixes the bug where painted heightmap was not cleared on new scene.
This commit is contained in:
parent
71d0eaacd0
commit
651e3fc3b6
1 changed files with 2 additions and 0 deletions
|
@ -26,5 +26,7 @@ void terrainAutoPreset(TerrainDefinition* definition, TerrainPreset preset)
|
|||
;
|
||||
}
|
||||
|
||||
terrainClearPainting(definition->height_map);
|
||||
|
||||
TerrainDefinitionClass.validate(definition);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue