mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 00:07:53 +00:00
Add link to dev fund in add-on about section.
This commit is contained in:
@@ -121,20 +121,25 @@ class BIM_ADDON_preferences(bpy.types.AddonPreferences):
|
|||||||
should_play_chaching_sound: BoolProperty(
|
should_play_chaching_sound: BoolProperty(
|
||||||
name="Should Make A Cha-Ching Sound When Project Costs Updates", default=False
|
name="Should Make A Cha-Ching Sound When Project Costs Updates", default=False
|
||||||
)
|
)
|
||||||
lock_grids_on_import: BoolProperty(name="Will lock grids upon import", default=True)
|
lock_grids_on_import: BoolProperty(name="Should Lock Grids By Default", default=True)
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
row = layout.row()
|
|
||||||
|
box = layout.box()
|
||||||
|
row = box.row()
|
||||||
|
row.label(
|
||||||
|
text="To uninstall: 1) Disable the add-on 2) Restart Blender 3) Press the 'Remove' button.",
|
||||||
|
icon="ERROR",
|
||||||
|
)
|
||||||
|
row = box.row()
|
||||||
row.label(
|
row.label(
|
||||||
text="To upgrade, first uninstall your current BlenderBIM Add-on, then install the new version.",
|
text="To upgrade, first uninstall your current BlenderBIM Add-on, then install the new version.",
|
||||||
icon="ERROR",
|
icon="ERROR",
|
||||||
)
|
)
|
||||||
|
|
||||||
row = layout.row()
|
row = layout.row()
|
||||||
row.label(
|
row.operator("bim.open_upstream", text="Help Donate to Fund Development!", icon="FUND").page = "fund"
|
||||||
text="To uninstall, first disable the add-on. Then restart Blender before pressing the 'Remove' button.",
|
|
||||||
icon="ERROR",
|
|
||||||
)
|
|
||||||
row = layout.row()
|
row = layout.row()
|
||||||
row.operator("bim.open_upstream", text="Visit Homepage").page = "home"
|
row.operator("bim.open_upstream", text="Visit Homepage").page = "home"
|
||||||
row.operator("bim.open_upstream", text="Visit Documentation").page = "docs"
|
row.operator("bim.open_upstream", text="Visit Documentation").page = "docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user