mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-28 22:41:28 +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() {
|
function deleteJSONMaterialEditor() {
|
||||||
if (materialEditor !== null) {
|
if (materialEditor !== null) {
|
||||||
|
setJSONError('materialData', false);
|
||||||
materialEditor.destroy();
|
materialEditor.destroy();
|
||||||
materialEditor = null;
|
materialEditor = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue