Page MenuHome

module 'bpy.utils' has no attribute 'register_tool'
Open, Needs TriagePublic

Description

Build 94503efb126

Running the tools template ui_tool_simple.py results in the error

Traceback (most recent call last):
  File "/ui_tool_simple.py", line 35, in <module>
  File "/ui_tool_simple.py", line 28, in register
AttributeError: module 'bpy.utils' has no attribute 'register_tool'

I assume the API simply changed, but I don't know what the new function is, unless tools are also supposed to be registered with register_class?

Details

Type
Bug