mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
update active 3d shape logic
This commit is contained in:
parent
5176277cc3
commit
e0c3e4488a
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user