diff options
author | Bastien Montagne <bastien@blender.org> | 2022-03-03 10:57:06 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-03-03 10:57:06 +0300 |
commit | ec09ded792cfbfd500353ff98b61f0ff6ed4ac6d (patch) | |
tree | fd1aeeaaa78cf977c16a2b34af8e7d23ab3842b3 /release | |
parent | a8df2922649195eee14072fd4d5b651d5b3ab335 (diff) |
Fix missing i18n context variable in UI py script.
Mistake in own rBdb3f5ae48ac, thanks to Ethan-Hall (@Ethan1080) for the
heads up.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index d6aea8e2d89..39269c95b31 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1285,6 +1285,7 @@ class VIEW3D_MT_view_align_selected(Menu): def draw(self, _context): layout = self.layout + i18n_text_ctxt = bpy.app.translations.contexts_C_to_py['BLT_I18NCONTEXT_EDITOR_VIEW3D'] props = layout.operator("view3d.view_axis", text="Top", text_ctxt=i18n_text_ctxt) props.align_active = True |