Sketcher: Fix origin showing on sketch edit

This commit is contained in:
PaddleStroke
2025-11-12 18:35:01 +01:00
committed by Kacper Donat
parent 5f8f2c5bd2
commit 4b50d72769

View File

@@ -3394,8 +3394,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
"if ActiveSketch.ViewObject.HideDependent:\n"
" 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(\"App::Plane\")])\n"
" tv.show([ref[0] for ref in ActiveSketch.AttachmentSupport if not (ref[0].isDerivedFrom(\"App::Plane\") or ref[0].isDerivedFrom(\"App::LocalCoordinateSystem\"))])\n"
"if ActiveSketch.ViewObject.ShowLinks:\n"
" tv.show([ref[0] for ref in ActiveSketch.ExternalGeometry])\n"
"tv.sketchClipPlane(ActiveSketch, ActiveSketch.ViewObject.SectionView)\n"