Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
This commit is contained in:
parent
76a135926a
commit
85dfd89653
14 changed files with 257 additions and 10 deletions
|
|
@ -205,6 +205,9 @@ static func get_property_hint_name(hint: PropertyHint) -> String:
|
|||
return "PROPERTY_HINT_HIDE_QUATERNION_EDIT"
|
||||
PROPERTY_HINT_PASSWORD:
|
||||
return "PROPERTY_HINT_PASSWORD"
|
||||
PROPERTY_HINT_TOOL_BUTTON:
|
||||
return "PROPERTY_HINT_TOOL_BUTTON"
|
||||
|
||||
printerr("Argument `hint` is invalid. Use `PROPERTY_HINT_*` constants.")
|
||||
return "<invalid hint>"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue