mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Provide upgrade / uninstall instructions to prevent users hitting that remove error message
This commit is contained in:
@@ -297,6 +297,10 @@ class BIM_ADDON_preferences(bpy.types.AddonPreferences):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
row = layout.row()
|
||||
row.label(text="To upgrade, first uninstall your current BlenderBIM Add-on, then install the new version.", icon="ERROR")
|
||||
row = layout.row()
|
||||
row.label(text="To uninstall, first disable the add-on. Then restart Blender before pressing the 'Remove' button.", icon="ERROR")
|
||||
row = layout.row()
|
||||
row.operator("bim.open_upstream", text="Visit Homepage").page = "home"
|
||||
row.operator("bim.open_upstream", text="Visit Documentation").page = "docs"
|
||||
row = layout.row()
|
||||
|
||||
Reference in New Issue
Block a user