diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-10 15:42:08 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-10 15:51:14 +0300 |
commit | 7695fd9cffd83263b963937854a3e0d0acaedc5e (patch) | |
tree | e366799158a1a666392f2d37dbbf0dbe4d94685d /release | |
parent | 526876a6348f63f634c8357b2949cf208d688321 (diff) |
Fix release notes not showing in splash without recent files
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index e7b9a847120..04a9a83e712 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1785,20 +1785,12 @@ class WM_MT_splash(Menu): col1.operator("wm.recover_last_session", icon='RECOVER_LAST') col2 = split.column() - if found_recent: - col2.operator( - "wm.url_open", text="Release Notes", icon='URL', - ).url = "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2] - col2.operator( - "wm.url_open", text="Development Fund", icon='URL' - ).url = "https://fund.blender.org" - else: - col2.operator( - "wm.url_open", text="Development Fund", icon='URL' - ).url = "https://fund.blender.org" - col2.operator( - "wm.url_open", text="Donate", icon='URL' - ).url = "https://www.blender.org/foundation/donation-payment/" + col2.operator( + "wm.url_open", text="Release Notes", icon='URL', + ).url = "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2] + col2.operator( + "wm.url_open", text="Development Fund", icon='URL' + ).url = "https://fund.blender.org" layout.separator() layout.separator() |