Sketcher: Do not force visibility of planes on edit

This updates the logic that had special handling for planes for the
temporary visibility feature of sketcher which was mishandled after move
to core datums.
This commit is contained in:
Kacper Donat
2025-09-28 10:58:08 +02:00
committed by Chris Hennes
parent df2df0905d
commit dc2aec50d4

View File

@@ -3363,7 +3363,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
" tv.hide(tv.get_all_dependent(%3, '%4'))\n"
"if ActiveSketch.ViewObject.ShowSupport:\n"
" tv.show([ref[0] for ref in ActiveSketch.AttachmentSupport if not "
"ref[0].isDerivedFrom(\"PartDesign::Plane\")])\n"
"ref[0].isDerivedFrom(\"App::Plane\")])\n"
"if ActiveSketch.ViewObject.ShowLinks:\n"
" tv.show([ref[0] for ref in ActiveSketch.ExternalGeometry])\n"
"tv.sketchClipPlane(ActiveSketch, ActiveSketch.ViewObject.SectionView)\n"