Fix StringName not documented for enum hint
This commit is contained in:
@ -3859,6 +3859,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
|
||||
Vector<String> options;
|
||||
Vector<String> option_names;
|
||||
if (p_hint_text.begins_with(";")) {
|
||||
// This is not supported officially. Only for `interface/editor/editor_language`.
|
||||
for (const String &option : p_hint_text.split(";", false)) {
|
||||
options.append(option.get_slicec('/', 0));
|
||||
option_names.append(option.get_slicec('/', 1));
|
||||
|
||||
Reference in New Issue
Block a user