diff --git a/OP_brushes.py b/OP_brushes.py index a1adb73..8259f28 100644 --- a/OP_brushes.py +++ b/OP_brushes.py @@ -89,12 +89,12 @@ def register(): for cl in classes: bpy.utils.register_class(cl) - bpy.types.VIEW3D_MT_brush_gpencil_context_menu.append(load_brush_ui) # FIXME + bpy.types.VIEW3D_MT_brush_context_menu.append(load_brush_ui) bpy.types.VIEW3D_HT_tool_header.append(load_brush_top_bar_ui) def unregister(): bpy.types.VIEW3D_HT_tool_header.remove(load_brush_top_bar_ui) - bpy.types.VIEW3D_MT_brush_gpencil_context_menu.remove(load_brush_ui) # FIXME + bpy.types.VIEW3D_MT_brush_context_menu.remove(load_brush_ui) for cl in reversed(classes): bpy.utils.unregister_class(cl)