diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-20 15:00:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-20 16:44:18 +0300 |
commit | 61ff578eab16ab627415e06c2a81b339d4be0f99 (patch) | |
tree | 6de272ee530948ab5782ec826215642f4a65b097 /release/scripts/modules/bl_ui_utils | |
parent | e6a81ad61ed60384762ef4f28d62bbad65bc8814 (diff) |
UI: add URL presets
This adds a url-preset operator to simplify opening re-usable links.
- Standard websites have their own tool-tip.
- De-duplicate logic to get URL's that include version information.
- Reporting bugs no longer needs to have all information
included in the URL.
D5498 by @luisbg with edits.
Diffstat (limited to 'release/scripts/modules/bl_ui_utils')
-rw-r--r-- | release/scripts/modules/bl_ui_utils/bug_report_url.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/modules/bl_ui_utils/bug_report_url.py b/release/scripts/modules/bl_ui_utils/bug_report_url.py index be94b45c8ac..008eafc2c46 100644 --- a/release/scripts/modules/bl_ui_utils/bug_report_url.py +++ b/release/scripts/modules/bl_ui_utils/bug_report_url.py @@ -64,10 +64,7 @@ def url_prefill_from_blender(addon_info=None): "\n" "**Addon Information**\n" ) - fh.write(( - "Name: {name} {version}\n" - "Author: {author}\n").format(**addon_info) - ) + fh.write(addon_info) fh.write( "\n" |