Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2019-07-26 17:19:21 +0300
committermano-wii <germano.costa@ig.com.br>2019-07-26 17:19:21 +0300
commit963b7611442cb262229187e8ddc0f42fd83b5f63 (patch)
tree3170375b60fb7e141dea66c1d662b131e75203e9 /release/scripts/startup/bl_ui
parent9270c15af8fc6b1fccf6dd6976f5bd0fe0342790 (diff)
WM: Pre-fill bug-reports for addons
This is an increment of the proposed changes in D4507. Differential Revision: https://developer.blender.org/D5303
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 02d9f797581..6a18766fae2 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1700,6 +1700,7 @@ class USERPREF_PT_addons(Panel):
def draw(self, context):
import os
import addon_utils
+ from bl_ui_utils.bug_report_url import url_prefill_from_blender
layout = self.layout
@@ -1879,7 +1880,7 @@ class USERPREF_PT_addons(Panel):
"wm.url_open", text="Report a Bug", icon='URL',
).url = info.get(
"tracker_url",
- "https://developer.blender.org/maniphest/task/edit/form/2",
+ url_prefill_from_blender(info),
)
if user_addon:
sub.operator(