diff --git a/src/lib/vm-manager-hoc.jsx b/src/lib/vm-manager-hoc.jsx index f344907807e1def1370f78d813d62d84a262ab3e..04bef4073d64dddb5a5c47a6deec21824c02b4bc 100644 --- a/src/lib/vm-manager-hoc.jsx +++ b/src/lib/vm-manager-hoc.jsx @@ -53,6 +53,9 @@ const vmManagerHOC = function (WrappedComponent) { loadProject () { return this.props.vm.loadProject(this.props.projectData) .then(() => { + // Mark all the assets as clean since they just got loaded + this.props.vm.assets.forEach(asset => (asset.clean = true)); + this.props.onLoadedProject(this.props.loadingState, this.props.canSave); // Wrap in a setTimeout because skin loading in // the renderer can be async.