mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
Fix bim.align_product operator (after 2db6b86)
It was using `core` in it's code though it was never defined.
This commit is contained in:
@@ -38,6 +38,7 @@ import bonsai.core.aggregate
|
|||||||
import bonsai.core.type
|
import bonsai.core.type
|
||||||
import bonsai.core.root
|
import bonsai.core.root
|
||||||
import bonsai.core.geometry
|
import bonsai.core.geometry
|
||||||
|
import bonsai.core.model as core
|
||||||
import bonsai.core.spatial
|
import bonsai.core.spatial
|
||||||
from . import wall, slab, profile, mep
|
from . import wall, slab, profile, mep
|
||||||
from bonsai.bim.ifc import IfcStore
|
from bonsai.bim.ifc import IfcStore
|
||||||
@@ -564,6 +565,7 @@ class SetActiveType(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
props.relating_type_id = str(self.relating_type)
|
props.relating_type_id = str(self.relating_type)
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: not exposed to UI.
|
||||||
class AlignProduct(bpy.types.Operator):
|
class AlignProduct(bpy.types.Operator):
|
||||||
bl_idname = "bim.align_product"
|
bl_idname = "bim.align_product"
|
||||||
bl_label = "Align Product"
|
bl_label = "Align Product"
|
||||||
|
|||||||
Reference in New Issue
Block a user