radiance_exporter_properties -> BIMRadianceExporeterProperies

For consistency with other props
This commit is contained in:
Andrej730
2025-06-23 14:32:13 +05:00
parent 30c33518f0
commit 58449368fb
2 changed files with 3 additions and 3 deletions
@@ -54,7 +54,7 @@ classes = (
def register():
bpy.types.Scene.radiance_exporter_properties = bpy.props.PointerProperty(type=prop.RadianceExporterProperties)
bpy.types.Scene.BIMRadianceExporeterProperies = bpy.props.PointerProperty(type=prop.RadianceExporterProperties)
bpy.types.Scene.BIMSolarProperties = bpy.props.PointerProperty(type=prop.BIMSolarProperties)
pyradiance_path = Path(get_pyradiance_path())
bin_path = pyradiance_path / "bin"
@@ -65,5 +65,5 @@ def register():
def unregister():
del bpy.types.Scene.radiance_exporter_properties
del bpy.types.Scene.BIMRadianceExporeterProperies
del bpy.types.Scene.BIMSolarProperties
+1 -1
View File
@@ -1709,7 +1709,7 @@ class Blender(bonsai.core.tool.Blender):
@classmethod
def get_radiance_exporter_props(cls) -> RadianceExporterProperties:
assert (scene := bpy.context.scene)
return scene.radiance_exporter_properties
return scene.BIMRadianceExporeterProperies
@classmethod
def get_ifc_definition_id(cls, obj: IFC_CONNECTED_TYPE) -> int: