mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 01:12:48 +02: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