From 21dc384d15305a01d8f5042ae0d3bde7525fb925 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 16 Aug 2021 12:42:08 +0200 Subject: Translation update: Fix after recent changes to Blender init code. Recent changes broke calling an operator from python too early during init process, including during first draw calls. So now moved most of `UI_OT_i18n_updatetranslation_svn_init_settings` logic into a static method that can be called directly in this specific case. Also improved situation where init fails, by showing the reset/init settings operator in the UI still. --- ui_translate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui_translate/__init__.py') diff --git a/ui_translate/__init__.py b/ui_translate/__init__.py index 20f7b884..a03fb56b 100644 --- a/ui_translate/__init__.py +++ b/ui_translate/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "Manage UI translations", "author": "Bastien Montagne", - "version": (1, 3, 1), + "version": (1, 3, 2), "blender": (2, 92, 0), "location": "Main \"File\" menu, text editor, any UI control", "description": "Allows managing UI translations directly from Blender " -- cgit v1.2.3