Update handler.py

This commit is contained in:
Carlos Dias
2023-07-18 15:27:30 -03:00
committed by GitHub
parent 36b45b744d
commit d2c22b0b0c
+1 -1
View File
@@ -257,7 +257,7 @@ def viewport_shading_changed_callback(area):
bpy.context.scene.BIMStylesProperties.active_style_type = "External"
if (bpy.types, "SCENE_PT_scene"):
if getattr(bpy.types, "SCENE_PT_scene"):
class Override_SCENE_PT_scene(bpy.types.SCENE_PT_scene):
bl_idname = "SCENE_PT_scene_override"