[Bf-extensions-cvs] [b83a1356] blender-v3.4-release master: Fix T102810: Error for import FBX ASCII

Damien Picard noreply at git.blender.org
Tue Nov 29 22:28:54 CET 2022


Commit: b83a135675f2e9b4b9cd7923d86c3afb0f1fce1b
Author: Damien Picard
Date:   Tue Nov 29 22:19:04 2022 +0100
Branches: blender-v3.4-release master
https://developer.blender.org/rBAb83a135675f2e9b4b9cd7923d86c3afb0f1fce1b

Fix T102810: Error for import FBX ASCII

The import script was broken in rBA27ee43296585, because I forgot an
import for i18n. ASCII FBX is still not supported, but at least the
erro reporting won't crash.

Reported by Evan Wilson in D16373.

===================================================================

M	io_scene_fbx/import_fbx.py

===================================================================

diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 6aa44317..31c9e4ba 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -15,6 +15,7 @@ if "bpy" in locals():
         importlib.reload(fbx_utils)
 
 import bpy
+from bpy.app.translations import pgettext_tip as tip_
 from mathutils import Matrix, Euler, Vector
 
 # -----



More information about the Bf-extensions-cvs mailing list