vengi-voxel / vengi

free and open source voxel art tools - editor, thumbnailer and format converter
http://vengi-voxel.github.io/vengi/
Other
1.05k stars 87 forks source link

VOXEDIT: Allow to move groups in edit mode #276

Open DryByte opened 1 year ago

DryByte commented 1 year ago
  1. You can't move groups, when trying to move a group voxedit not allows you to do so, it moves 1 block and resets it with the following message: Could not execute the desired action on any visible node

  2. You can't undo moves in editmode.

  3. The axis for moving is located in 0,0,0 and not wheres the group position is at.

Screenshot for context: Screenshot_2023-04-18-06-53-17_1360x768

On there i tried to move the tree_zone group and got the message, all nodes are active.

mgerhardy commented 1 year ago

Moving groups in edit mode is not as easy as for moving them in scene mode. It involves multiple volume modifications but would only need one memento state. For this we first have to refactor the MementoHandler to be able to redo and undo multiple steps at once. We might also need this for multiple different actions - but until this is implemented a first fix might be to disable the gizmo in edit mode for non model nodes.

mgerhardy commented 1 year ago

Converted this into a feature request, because the movement of groups was disallowed in the mentioned commit. The feature request is basically about allowing it again.