Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings registering sverchok menus after reenabling addon (#5170)
E.g. if you disable and enable addon it would give the warnings below since menu classes were not unregistered. Example warnings: ``` register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Advanced', bl_idname 'SV_MT_PyMenu_Advanced' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Architecture', bl_idname 'SV_MT_PyMenu_Architecture' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_CNC', bl_idname 'SV_MT_PyMenu_CNC' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Design', bl_idname 'SV_MT_PyMenu_Design' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Fields', bl_idname 'SV_MT_PyMenu_Fields' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Introduction', bl_idname 'SV_MT_PyMenu_Introduction' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Shapes', bl_idname 'SV_MT_PyMenu_Shapes' has been registered before, unregistering previous register_class(...): Info: Registering menu class: 'SV_MT_PyMenu_Surfaces', bl_idname 'SV_MT_PyMenu_Surfaces' has been registered before, unregistering previous ```
- Loading branch information