DarkStarSword / 3d-fixes

Stereoscopic 3D fixes using Helix mod & 3DMigoto
108 stars 128 forks source link

3dmigoto support blender 2.8X? #2

Open Myoko opened 5 years ago

Myoko commented 5 years ago

can you update blender_3dmigoto to support blender 2.8X, i cant enable in blender 2.8! i got error

Properties: bpy.data.window_managers["WinMan"].addon_search = "3d" Error: Traceback (most recent call last): File "C:\Program Files\blender\2.80\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\Tayswell\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\blender_3dmigoto.py", line 38, in from bpy_extras.io_utils import unpack_list, ImportHelper, ExportHelper, orientation_helper_factory, axis_conversion ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils' (C:\Program Files\blender\2.80\scripts\modules\bpy_extras\io_utils.py)

Error: Traceback (most recent call last): File "C:\Program Files\blender\2.80\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\Tayswell\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\blender_3dmigoto.py", line 38, in from bpy_extras.io_utils import unpack_list, ImportHelper, ExportHelper, orientation_helper_factory, axis_conversion ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils' (C:\Program Files\blender\2.80\scripts\modules\bpy_extras\io_utils.py)

Error: Traceback (most recent call last): File "C:\Program Files\blender\2.80\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\Tayswell\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\blender_3dmigoto.py", line 38, in from bpy_extras.io_utils import unpack_list, ImportHelper, ExportHelper, orientation_helper_factory, axis_conversion ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils' (C:\Program Files\blender\2.80\scripts\modules\bpy_extras\io_utils.py)

DarkStarSword commented 5 years ago

I've updated the 3DMigoto Blender addon to work in Blender 2.80. Importing frame analysis dumps with or without poses works, as does importing and exporting raw buffers, merging poses, stripping non-numeric vertex groups, etc.

Blender 2.80 has changed quite a few things, so it might take a bit of searching/googling to locate where things have moved. One change in particular that you should be aware of is that the default key binding to bring up the operator search menu (e.g. for "Merge 3DMigoto Poses" and "Remove non-numeric vertex groups") has changed from spacebar to F3.

Please note that I haven't tested the vgmap functionality (used in DOA6) in Blender 2.80 as yet, nor has the DOA6 specific decode_doa6_soft.py addon been updated. DOA6 modders should therefore stick to Blender 2.79 for the time being. I've been careful to maintain backwards compatibility, so the updated addon should still work fine in Blender 2.79 (just disregard the version warning), however if you should run into any problems the old version can always be found in the git history.

GlitchyReal commented 4 years ago

I'm having the same (or very similar) issue in Blender 2.9.

Will this be kept up to date or should I maintain older versions of Blender? (2.8 has only been partially functional for me, missing the "Assign new 3DMigoto vertex groups" function.)