fix: update ztools submodule — robust PartDesign menu insertion (#57) #72
Reference in New Issue
Block a user
Delete Branch "fix/menu-insertion-fragility"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces the fragile chained
insertoperations in_ZToolsPartDesignManipulator.modifyMenuBar()with independentappendoperations.Problem: The old code anchored the first insertion on
PartDesign_Booleanand chained each subsequent command off the previous insertion. IfPartDesign_Booleanwere ever renamed upstream, all four insertions would silently fail (cascade failure).Fix: Use
appendwithPartDesign_Bodyas the parent-locator. Each operation is independent — a failure in one does not affect the others.PartDesign_Bodyis the most fundamental command in the Part Design menu, far less likely to be renamed.Commands now appear at the bottom of the Part Design menu instead of before
PartDesign_Boolean.Closes #57
4cf2541511to1f027747c91f027747c9to84c1776f92