tuxedo-blender-plugin
tuxedo-blender-plugin copied to clipboard
blender 4.1
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
not sure if this has been fixed whatsoever. I'm doubtful though. @feilen do you think this could be fixed? seems simple enough
It is in a broken working state, it decimates but it does not take the value given
no matter the option i pick it will always be sub 10k
I know the issue of this now. I need to get around to this
Basically I made a change for Garry's mod that enforces a 10000 polygons per mesh due to a pure binary limitation of the file format (Meaning it it utterly fixed point. Trying to go further literally causes a catastrophic crash in Gmod)
So to mitigate this i added an option to the tool which I call that makes it 10000 limit and it works
Unfortunately this kinda spread to other parts of the program and now the smart decimate is affected by this
Thankfully, a temporary work around for this issue is to go to the bottom right after hitting the button where blender shows the most recently used operator settings, finding the per mesh limit (10000) and setting it to a bunch of 99999999999 or something
It does this for every operator btw, including bridging mesh loops and what not. If you have trouble finding it, I am happy to help through discord, although a quick AI asking or Google may help
Dang, wonder how that snuck in. Was that in the patch release?
I was gonna spend some break time cleaning this up and putting out a patch release, but I got sick over the holiday ;-; we'll see!
It may be a couple months till I can get to this, since I don't have access to writing code
Maybe as a quick patch job, setting the number to 1 million (1000000)