passivestar / quickmenu

Blender addon that simplifies access to useful operators and adds missing functionality
GNU General Public License v3.0
1.13k stars 42 forks source link

Error handling #1

Closed iperson closed 2 years ago

iperson commented 2 years ago

Having trouble reproducing this one. I think it was D-4-3, but could not repeat.

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "D:\Blender Assets\addons\quickmenu-main\__init__.py", line 881, in execute
    execute_in_mode('OBJECT', fn)
  File "D:\Blender Assets\addons\quickmenu-main\__init__.py", line 92, in execute_in_mode
    result = callback()
  File "D:\Blender Assets\addons\quickmenu-main\__init__.py", line 880, in fn
    bpy.ops.object.convert(target='MESH')
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\modules\bpy\ops.py", line 132, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect