Merge branch 'blender-v4.4-release'

This commit is contained in:
Campbell Barton
2025-02-25 15:17:44 +11:00
2 changed files with 9 additions and 5 deletions

View File

@@ -1220,14 +1220,18 @@ def extensions_panel_draw_online_extensions_request_impl(
row = box.row(align=True)
row.alignment = 'LEFT'
row.label(text="While offline, use \"Install from Disk\" instead.")
# TODO: the URL must be updated before release,
# this could be constructed using a function to account for Blender version & locale.
row.operator(
"wm.url_open",
text="",
icon='URL',
emboss=False,
).url = "https://docs.blender.org/manual/en/dev/editors/preferences/extensions.html#install"
).url = (
"https://docs.blender.org/manual/"
"{:s}/{:d}.{:d}/editors/preferences/extensions.html#installing-extensions"
).format(
bpy.utils.manual_language_code(),
*bpy.app.version[:2],
)
row = box.row()
props = row.operator("wm.context_set_boolean", text="Continue Offline", icon='X')

View File

@@ -580,9 +580,9 @@ class DOPESHEET_MT_action(Menu):
class DOPESHEET_MT_key(Menu):
bl_label = "Key"
def draw(self, _context):
def draw(self, context):
layout = self.layout
ob = _context.active_object
ob = context.active_object
layout.menu("DOPESHEET_MT_key_transform", text="Transform")