JoseConseco / GoB

Fork of original GoB script (I just added some fixes)
GNU General Public License v3.0
637 stars 77 forks source link

the imported file has to be installed manually and an error is generated #484

Closed robotkurva closed 7 hours ago

robotkurva commented 2 months ago

Hello! in the new version 4.0.4, after I import the mesh from ZBrush, I see my model immediately when I export it for the first time, then I need to put it through manual export every time. here is the error message Python: Traceback (most recent call last): File "C:\Users\TomorrowHead\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\GoB-4_0_4\GoB.py", line 746, in invoke run_import_manually() File "C:\Users\TomorrowHead\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\GoB-4_0_4\GoB.py", line 1585, in run_import_manually bpy.ops.scene.gob_import() #only call operator update is found (executing operatros is slow)
^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Blender_Download\stable\blender-4.2.0-stable.a51f293548ad\4.2\scripts\modules\bpy\ops.py", line 109, in call ret = _op_call(self.idname_py(), kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\TomorrowHead\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\GoB-4_0_4\GoB.py", line 406, in GoZit print("error if buffer length is less than 3: ", v, vertex_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'v' where it is not associated with a value Location: D:\Blender_Download\stable\blender-4.2.0-stable.a51f293548ad\4.2\scripts\modules\bpy\ops.py:109

kromar commented 3 weeks ago

Thanks for reporting this issue. This should be fixed in the latest version. https://github.com/JoseConseco/GoB/releases/tag/v4_1_0

robotkurva commented 3 weeks ago

Big Thanks for thit!

пн, 9 сент. 2024 г. в 21:23, Daniel G @.***>:

Thanks for reporting this issue. This should be fixed in the latest version. https://github.com/JoseConseco/GoB/releases/tag/v4_1_0

— Reply to this email directly, view it on GitHub https://github.com/JoseConseco/GoB/issues/484#issuecomment-2338800434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU6TCCB3QFRW3W6QQ7M4TI3ZVXRTHAVCNFSM6AAAAABLOBPMVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZYHAYDANBTGQ . You are receiving this because you authored the thread.Message ID: @.***>