store: unselect model & material on selection changes

This commit is contained in:
Seth Ladygo
2019-05-18 00:50:52 -07:00
parent cb26908f3b
commit 35f0e05a41

View File

@ -179,10 +179,13 @@ export const store = new Vuex.Store({
selectSection(state, id) {
state.selectedSectionID = id
state.selectedModelID = null
state.selectedMaterialID = null
},
selectModel(state, id) {
state.selectedModelID = id
state.selectedMaterialID = null
},
selectMaterial(state, id) {