-
Notifications
You must be signed in to change notification settings - Fork 233
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
Tooltips of Add node operator in Blender 3.3 #4700
Comments
By the way it seems this code does not work at all, at least commenting it does not break nothing. Lines 273 to 282 in b5a8ebc
|
Can we preserve backward compatibility for a while, and plan a rewrite when, for example, 3.2 goes end-of-support? |
Also, I like the solution with separate Operator for each node, because with it you can easily search for nodes with standard Blender's F3 menu... |
@portnov what advantage does the F3 menu have? |
That everything is in one menu? You just type what you want and that's all. |
Problem statement
Blender 3.3 silently added
description
class method forAddNodeOperator
- https://developer.blender.org/D14963 https://developer.blender.org/T101657Now it overrides our approach of adding tooltips. It's a coincidence that we did not loos tooltips completely because their approach is similar, it also uses node doc strings.
Our current approach is a class factory of
AddNodeOperator
subclasses for each node item in the menu.sverchok/menu.py
Lines 256 to 264 in b5a8ebc
With the new feature we have opportunity to simplify our solution and replace the factory wit single Add operator. The question is about backward compatibility. I see 3 ways to go:
description
method to our current approach. It's simplest solution and backward compatible but it want make our approach simpler.The text was updated successfully, but these errors were encountered: