Not clear selection while history editing

This commit is contained in:
Val Erastov 2016-08-28 15:33:37 -07:00
parent 8c810ed4d5
commit 0caad4e6d9

View file

@ -53,7 +53,10 @@ TCAD.App = function() {
}
this.bus.subscribe("craft", function() {
app.viewer.selectionMgr.clear();
var historyEditMode = app.craft.historyPointer != app.craft.history.length;
if (!historyEditMode) {
app.viewer.selectionMgr.clear();
}
app._refreshSketches();
});
window.addEventListener('storage', storage_handler, false);