Add Draft workbench to .pre-commit-config (#24664)
* Add Draft workbench to .pre-commit-config * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,7 @@ def fuse(object1, object2):
|
||||
return
|
||||
import Part
|
||||
import DraftGeomUtils
|
||||
|
||||
# testing if we have holes:
|
||||
holes = False
|
||||
fshape = object1.Shape.fuse(object2.Shape)
|
||||
@@ -74,9 +75,10 @@ def fuse(object1, object2):
|
||||
if App.GuiUp:
|
||||
object1.ViewObject.Visibility = False
|
||||
object2.ViewObject.Visibility = False
|
||||
gui_utils.format_object(obj,object1)
|
||||
gui_utils.format_object(obj, object1)
|
||||
gui_utils.select(obj)
|
||||
|
||||
return obj
|
||||
|
||||
|
||||
## @}
|
||||
|
||||
Reference in New Issue
Block a user