-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info: Registering menu class: 'ALL_MT_editormenu', bl_idname 'ALL_MT_editormenu' has been registered before, unregistering previous #4045
Comments
Did a quick test, removed one of the registries in a document, it removed the warning - no broken changes. |
Be careful with this one. I once needed to add the class to every editor to get it working. It is the show hide editor type menu |
The clip editor I tested on appeard to continue to work, so will.. branch and test before merging to master if I do manage a fix. |
This is what happens when you remove the class from one file. I did this here in the console editor. Well, it worked for eight years or so to have the same class in the different files. Long enough i guess. Interesting would be to know the commit that made our previous working method uselsess. But we need a solution. What we can do is to make every class unique now. The one for the console becomes then ALL_MT_editormenu_console, the one from the 3d view ALL_MT_editormenu_3dview, and so on. Then the error should vanish. |
So when two addon developers chooses the same class name the console will be spammed with error messages now, and slow down Blender? This change is crazy ... |
Console issue spanning from our
ALL_MT_editormenu
system. Might be new warning code in there and we had it wrong a while.The text was updated successfully, but these errors were encountered: