add missing material data json error clear on delete

This commit is contained in:
Thijs Wenker 2018-11-29 19:55:34 +01:00
parent 6d40bc9c2f
commit 2771e2862e

View file

@ -2705,6 +2705,7 @@ function getMaterialEditorJSON() {
function deleteJSONMaterialEditor() {
if (materialEditor !== null) {
setJSONError('materialData', false);
materialEditor.destroy();
materialEditor = null;
}