init.py
Blender 5.0 – Crash when using Merge Tool
Hi,
First of all, thanks for this addon, it’s really useful !!
I’m currently testing it on Blender 5.0.1 and ran into an issue:
The addon installs correctly
But it crashes when interacting with mesh elements (clicking a vertex or edge)
Error:
TypeError: MergeTool.init() takes 1 positional argument but 2 were given
🔍 After Serach
From what I tested, it seems related to:
A custom init inside the Operator (which Blender 5 may handle differently)
Use of the deprecated bgl module (removed in Blender 5)
✅ Quick fix (tested locally)
I was able to make it work by:
Removing the init from the Operator and moving initialization to invoke()
Replacing bgl calls with gpu equivalents
init.py
Blender 5.0 – Crash when using Merge Tool
Hi,
First of all, thanks for this addon, it’s really useful !!
I’m currently testing it on Blender 5.0.1 and ran into an issue:
The addon installs correctly
But it crashes when interacting with mesh elements (clicking a vertex or edge)
Error:
TypeError: MergeTool.init() takes 1 positional argument but 2 were given
🔍 After Serach
From what I tested, it seems related to:
A custom init inside the Operator (which Blender 5 may handle differently)
Use of the deprecated bgl module (removed in Blender 5)
✅ Quick fix (tested locally)
I was able to make it work by:
Removing the init from the Operator and moving initialization to invoke()
Replacing bgl calls with gpu equivalents