Currently, when reparenting cubes in the element tree, their rotation and position is not properly updated. This causes them to move and rotate in view, while the desired behavior is that the cube stays at exactly the same place where it was before.
This commit fixes two bugs, therefore allowing moved nodes to stay at exactly the same position as they were.
Currently, when reparenting cubes in the element tree, their rotation and position is not properly updated. This causes them to move and rotate in view, while the desired behavior is that the cube stays at exactly the same place where it was before.
This commit fixes two bugs, therefore allowing moved nodes to stay at exactly the same position as they were.