mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
add missing material data json error clear on delete
This commit is contained in:
parent
6d40bc9c2f
commit
2771e2862e
1 changed files with 1 additions and 0 deletions
|
@ -2705,6 +2705,7 @@ function getMaterialEditorJSON() {
|
|||
|
||||
function deleteJSONMaterialEditor() {
|
||||
if (materialEditor !== null) {
|
||||
setJSONError('materialData', false);
|
||||
materialEditor.destroy();
|
||||
materialEditor = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue