Fix conditional properties missing from project

closes #749
This commit is contained in:
JannisX11 2020-10-26 20:38:00 +01:00
parent 9f065d24ef
commit 2ae9c926b1

View File

@ -85,6 +85,11 @@ class ModelFormat {
uv_dialog.all_editors.forEach(editor => {
editor.img.style.objectFit = Format.animated_textures ? 'cover' : 'fill';
})
for (var key in ModelProject.properties) {
if (Project[key] == undefined) {
ModelProject.properties[key].reset(Project);
}
}
updateSelection()
Modes.vue.$forceUpdate()
updateInterfacePanels()