-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Fix secondary handles in editor gizmos #56692
Fix secondary handles in editor gizmos #56692
Conversation
@@ -12,8 +12,9 @@ | |||
<method name="_commit_handle" qualifiers="virtual"> | |||
<return type="void" /> | |||
<argument index="0" name="id" type="int" /> | |||
<argument index="1" name="restore" type="Variant" /> | |||
<argument index="2" name="cancel" type="bool" /> | |||
<argument index="1" name="secondary" type="bool" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some docs should be added to define what secondary
means in these methods. Not sure if it should be repeated in all methods but it should at least be described once so that users know what to make of it.
ae02753
to
db73791
Compare
I force-pushed some documentation notes on secondary handles. |
Primary and secondary handles are no longer differentiated by their ids, so a bool was added to tell them apart in all the handle-related methods. Includes a minor fix in CollisionPolygon3DEditor, unrelated to editor gizmos.
db73791
to
5ebea2d
Compare
Docs should be fixed now :) |
Thanks! |
Primary and secondary handles are no longer differentiated by their IDs, so a bool was added to tell them apart in all the handle-related methods.
Fixes #52568.