Sketcher: improve Z layering in edit mode

Especially when using cross section there was cases where sketcher elements ...
 ... wasn't guaranteed to be visible because hidden by other objects
This commit is contained in:
0penBrain
2023-06-24 10:17:47 +02:00
parent 1e130fa9c3
commit 6e6f4bb1eb
2 changed files with 3 additions and 3 deletions

View File

@@ -455,7 +455,7 @@ class TempoVis(object):
if enable: # clip plane shall be disabled so new placement can be applied
self.modify(ClipPlane(doc, 0))
self.modify(ClipPlane(doc, toggle, pla, 0.02))
self.modify(ClipPlane(doc, toggle, pla, 0.001))
sketch.ViewObject.SectionView = enable if enable is not None else not sketch.ViewObject.SectionView
def activateWorkbench(self, wb_name):