feilen / tuxedo-blender-plugin

A Blender plug-in to facilitate producing game models, namely by baking everything into one atlassed model with Blender's own rendering engine!
84 stars 4 forks source link

blender 4.1 #44

Open noideaman opened 3 months ago

noideaman commented 3 months ago

4.1 update changed something with python, smart-decimate now fails


Python: Traceback (most recent call last):
  File "/home/noideaman/.config/blender/4.1/scripts/addons/tuxedo-blender-plugin-master/tools.py", line 515, in execute
    join_meshes(context, armature.name)
  File "/home/noideaman/.config/blender/4.1/scripts/addons/tuxedo-blender-plugin-master/tools.py", line 304, in join_meshes
    bpy.ops.object.select_all(action='DESELECT')
  File "/usr/share/blender/4.1/scripts/modules/bpy/ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Operator bpy.ops.object.select_all.poll() failed, context is incorrect
989onan commented 1 month ago

not sure if this has been fixed whatsoever. I'm doubtful though. @feilen do you think this could be fixed? seems simple enough