update active 3d shape logic

This commit is contained in:
casperlamboo 2017-11-28 15:55:11 +01:00
parent 5176277cc3
commit e0c3e4488a
1 changed files with 1 additions and 1 deletions

View File

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