[Bf-blender-cvs] [7695fd9cffd] master: Fix release notes not showing in splash without recent files

Brecht Van Lommel noreply at git.blender.org
Wed Jul 10 14:59:34 CEST 2019


Commit: 7695fd9cffd83263b963937854a3e0d0acaedc5e
Author: Brecht Van Lommel
Date:   Wed Jul 10 14:42:08 2019 +0200
Branches: master
https://developer.blender.org/rB7695fd9cffd83263b963937854a3e0d0acaedc5e

Fix release notes not showing in splash without recent files

===================================================================

M	release/scripts/startup/bl_operators/wm.py

===================================================================

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()



More information about the Bf-blender-cvs mailing list