mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
bpy._typing -> bpy.stub_internal
https://github.com/nutti/fake-bpy-module/issues/362
This commit is contained in:
@@ -62,7 +62,7 @@ from bpy_extras.image_utils import load_image
|
||||
if TYPE_CHECKING:
|
||||
from bonsai.bim.module.drawing.prop import RenderType
|
||||
from bonsai.bim.module.project.prop import Link
|
||||
from bpy._typing import rna_enums
|
||||
from bpy.stub_internal import rna_enums
|
||||
|
||||
cwd = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ from typing import Any, Union, Literal, get_args, TYPE_CHECKING, assert_never, N
|
||||
from bonsai.bim.module.model.decorator import ProfileDecorator
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from bpy._typing import rna_enums
|
||||
from bpy.stub_internal import rna_enums
|
||||
|
||||
|
||||
class EditObjectPlacement(bpy.types.Operator, tool.Ifc.Operator):
|
||||
|
||||
@@ -23,7 +23,7 @@ from ifcopenshell.api.owner.add_address import ADDRESS_TYPE
|
||||
from typing import TYPE_CHECKING, get_args
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import bpy._typing.rna_enums as rna_enums
|
||||
import bpy.stub_internal.rna_enums as rna_enums
|
||||
|
||||
|
||||
class EnableEditingPerson(bpy.types.Operator):
|
||||
|
||||
@@ -24,7 +24,7 @@ from bonsai.bim.module.void.data import BooleansData, VoidsData
|
||||
from typing import Any, TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import bpy._typing.rna_enums as rna_enums
|
||||
import bpy.stub_internal.rna_enums as rna_enums
|
||||
|
||||
|
||||
OPENING_ICON = "SELECT_SUBTRACT"
|
||||
|
||||
@@ -46,7 +46,7 @@ from typing import Any, Optional, Union, Literal, Iterable, Callable, TypeVar, G
|
||||
from typing_extensions import assert_never
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import bpy._typing.rna_enums as rna_enums
|
||||
import bpy.stub_internal.rna_enums as rna_enums
|
||||
from bonsai.bim.prop import BIMProperties, BIMObjectProperties
|
||||
from bonsai.bim.module.attribute.prop import BIMAttributeProperties
|
||||
from bonsai.bim.module.csv.prop import CsvProperties
|
||||
|
||||
@@ -32,7 +32,7 @@ from bonsai.bim.ifc import IfcStore, IFC_CONNECTED_TYPE
|
||||
from typing import Optional, Union, Any, final, Literal, TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from bpy._typing import rna_enums
|
||||
from bpy.stub_internal import rna_enums
|
||||
|
||||
|
||||
class Ifc(bonsai.core.tool.Ifc):
|
||||
|
||||
@@ -26,7 +26,7 @@ from typing import TYPE_CHECKING
|
||||
from bonsai.tool.blender import Blender as subject
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import bpy._typing.rna_enums as rna_enums
|
||||
import bpy.stub_internal.rna_enums as rna_enums
|
||||
|
||||
|
||||
class TestImplementsTool(NewFile):
|
||||
|
||||
Reference in New Issue
Block a user