-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Show revert button for MeshInstance3D blendshape values #82984
Conversation
Shows revert button for MeshInstance3D blendshape values.
895790e
to
2dfa023
Compare
HashMap<StringName, int>::ConstIterator E = blend_shape_properties.find(p_name); | ||
if (E) { | ||
return true; | ||
} | ||
return false; |
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.
Just to be sure, can you confirm that this doesn't break the revertability of other, non blend shape properties of MeshInstance3D?
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.
I can confirm that I can still revert all the Node3D/GeometryInstance3D inspector properties that seem to be the only class in the inherit chain that uses the same functions. Everything else about that function shenanigan and how it does its thing under the hood no idea, I am just monkey-copy-pasting from other nodes.
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.
false
means fallback to default behavior, like with other similar methods.
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.
The code looks fine, but not sure how to test it.
Thanks! |
Shows revert button for MeshInstance3D blendshape values.
... because having to enter
0.0
manually all the time because the slider steps make it impossible to hit zero needs to stop.