mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-30 12:20:41 -08:00
fix validate context
This commit is contained in:
parent
432dac3ac8
commit
2fddfab789
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ from build123d.topology import (
|
|||
from build123d.build_line import BuildLine
|
||||
from build123d.build_sketch import BuildSketch
|
||||
from build123d.build_part import BuildPart
|
||||
from build123d.build_common import Builder, LocationList, WorkplaneList
|
||||
from build123d.build_common import Builder, LocationList, WorkplaneList, validate_inputs
|
||||
|
||||
logging.getLogger("build123d").addHandler(logging.NullHandler())
|
||||
logger = logging.getLogger("build123d")
|
||||
|
|
@ -186,7 +186,7 @@ class BoundingBox(Compound):
|
|||
mode: Mode = Mode.ADD,
|
||||
):
|
||||
context: Builder = Builder._get_context(self)
|
||||
context.validate_inputs(self, objects)
|
||||
validate_inputs(context, self, objects)
|
||||
|
||||
if isinstance(context, BuildPart):
|
||||
new_objects = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue