anegostudios / vsmodelcreator

Vintage Story Model Creator
Other
69 stars 15 forks source link

Fixes invalid positioning and rotation when reparenting nodes #70

Closed xxmicloxx closed 3 years ago

xxmicloxx commented 3 years ago

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.

tyronx commented 3 years ago

aw yis, thats perfect, thank you so much