Properly call setAttribute for position, rotation, scale when modifying with the TransformControls, so that entity.flushToDOM() works correctly when duplicating an entity.
This fixes #688.
See my comment https://github.com/aframevr/aframe-inspector/issues/688#issuecomment-1646632546 for a more detailed explanation of the issue and the proposed fix.
Properly call
setAttribute
for position, rotation, scale when modifying with the TransformControls, so thatentity.flushToDOM()
works correctly when duplicating an entity. This fixes #688. See my comment https://github.com/aframevr/aframe-inspector/issues/688#issuecomment-1646632546 for a more detailed explanation of the issue and the proposed fix.