realthunder / FreeCAD_assembly3

Experimental attempt for the next generation assembly workbench for FreeCAD
GNU General Public License v3.0
885 stars 74 forks source link

Reordering of constraints and and elements doesn't work #1309

Open shyblower opened 1 year ago

shyblower commented 1 year ago

When I try to reorder constraints in the Assembly tree by dragging them with the mouse and dropping them before another constraint, the constraint after the dropped one gets replaced by the dropped one but the dropped one also remains in its original position. So I get the constrained I tried to reorder twice in the tree, like two tree items pointing to the same constraint object while the constraint after the dropped one is removed. When I try to remove one of the duplicated constraint items, both disappear from the tree.

The same goes for the elements list inside the assembly tree.

I'm experiencing this when using the latest LinkMerge prerelease build from your Link Branch.

shyblower commented 1 year ago

It's btw. the same with the 220709 LinkDaily release.

Reordering parts and items outside an Assembly3 subtree works, though.

shyblower commented 1 year ago

The "move item up/down" functionality from the Assembly 3 menu and toolbar works correctly and does what I tried to achieve with reordering.

Is this a known problem and the reason why the "move item up/down" (asm3CmdUp and asm3CmdDown) functionality exists?