update active 3d shape logic

This commit is contained in:
casperlamboo 2017-11-28 15:55:11 +01:00
parent 5176277cc3
commit e0c3e4488a

View File

@ -99,7 +99,7 @@ export const determineActiveShape3d = (state) => {
const selectedObjects = state.selection.objects.map(({ id }) => id); const selectedObjects = state.selection.objects.map(({ id }) => id);
const activeShapes = {}; const activeShapes = {};
for (const id in state.objectsById) { for (const id in state.objectsById) {
activeShapes[id] = activeTransformer; activeShapes[id] = activeTransformer || state.d2.activeShape === id;
} }
return activeShapes; return activeShapes;
}; };