jpbouza / BlenRig

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

The call of a non-existing function #10

Open zergon321 opened 2 months ago

zergon321 commented 2 months ago

Hi. I was going through the 51st step of the reproportion guide

image

I pushed the "Bake all" button, but I only got the error

Python: Traceback (most recent call last):
  File "C:\Users\maxim.LAPTOP-871B05H0\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\BlenRig-6_v4_0_0\ops_baking.py", line 484, in execute
    self.bake_all_1(context)
  File "C:\Users\maxim.LAPTOP-871B05H0\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\BlenRig-6_v4_0_0\ops_baking.py", line 479, in bake_all_1
    bpy.ops.armature.collection_solo_visibility(name="BONE-ROLLS")
  File "C:\Program Files (x86)\Steam\steamapps\common\Blender\4.1\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Calling operator "bpy.ops.armature.collection_solo_visibility" error, could not be found

I used BlenRig 6 v4.0.0 with Blender 4.1.1

ChuChuCharlie commented 1 month ago

Same error when using 4.1.1, works fine on the same file in 4.0

EDIT** The function bpy.ops.armature.collection_solo_visibility was removed between 4.0 and 4.1 https://projects.blender.org/blender/blender/commit/f623c8f7bc5847a771b86e6ba134a0ca704e480b