jpbouza / BlenRig

BlenRig rigging system for Blender
GNU General Public License v3.0
121 stars 13 forks source link

Not compatible with Blender Version 4.0 #7

Open acrankyfoxinabox opened 8 months ago

acrankyfoxinabox commented 8 months ago

The addon doesn't load Error as follows Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable mod = importlib.import_module(module_name) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BlenRig-6_v2_1_0\init__.py", line 78, in from .ui.panels.guide_reproportion_assistant import BLENRIG_PT_reproportion_guide File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BlenRig-6_v2_1_0\ui\panels\guide_reproportion_assistant.py", line 2, in from ...guides.guide_ops import VIEW3D_OT_blenrig_guide_reproportion File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BlenRig-6_v2_1_0\guides\guide_ops.py", line 8, in from . draw import draw_callback_px File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BlenRig-6_v2_1_0\guides\draw.py", line 7, in from . rectangle import Draw_Rectangle File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BlenRig-6_v2_1_0\guides\rectangle.py", line 6, in shader = gpu.shader.from_builtin('2D_UNIFORM_COLOR') ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'

jpbouza commented 8 months ago

Thanks! We already know about it.

pontusedberg commented 8 months ago

any temp fixes for this yet? ^^

jpbouza commented 8 months ago

Now we're actually working on it :D

Kamranmirajkhan commented 7 months ago

@jpbouza when will you gives the update for blender 4. huge fan sir <3.

kindid commented 7 months ago

@Kamranmirajkhan @pontusedberg @jpbouza I needed to get BlenRig working with Blender 4. I've made some changes to be Blender 3 and 4 compat. "It works here". Clone this repo and then zip it. Open Blender 4 → edit → prefs → install and load the zip. If it sets your computer on fire... meh not my fault!!! https://github.com/kindid/BlenRig/tree/blender400compat

Tarek-Hasan commented 4 months ago

Blender 4 compatible version got released recently.