Sketcher: Do not show support when entering sketch edit mode if it is a datum plane
===================================================================================== https://forum.freecadweb.org/viewtopic.php?f=10&t=25700
This commit is contained in:
@@ -5160,7 +5160,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
|
||||
" objs = filter(lambda x: not x.TypeId.startswith(\"Drawing::\"), objs)\n"
|
||||
" tv.hide(objs)\n"
|
||||
"if ActiveSketch.ViewObject.ShowSupport:\n"
|
||||
" tv.show([ref[0] for ref in ActiveSketch.Support])\n"
|
||||
" tv.show([ref[0] for ref in ActiveSketch.Support if not ref[0].isDerivedFrom(\"PartDesign::Plane\")])\n"
|
||||
"if ActiveSketch.ViewObject.ShowLinks:\n"
|
||||
" tv.show([ref[0] for ref in ActiveSketch.ExternalGeometry])\n"
|
||||
"tv.hide(ActiveSketch)\n"
|
||||
|
||||
Reference in New Issue
Block a user