fix brush context menu
parent
998bd4b0cb
commit
7bc7d5d9ff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue