Added StringName as a variant type.
Also changed all relevant properties defined manually to StringName.
This commit is contained in:
parent
7ac0973e9a
commit
3c0059650d
55 changed files with 351 additions and 174 deletions
|
|
@ -803,6 +803,12 @@ void EditorPropertyDictionary::update_property() {
|
|||
case Variant::COLOR: {
|
||||
prop = memnew(EditorPropertyColor);
|
||||
|
||||
} break;
|
||||
case Variant::STRING_NAME: {
|
||||
EditorPropertyText *ept = memnew(EditorPropertyText);
|
||||
ept->set_string_name(true);
|
||||
prop = ept;
|
||||
|
||||
} break;
|
||||
case Variant::NODE_PATH: {
|
||||
prop = memnew(EditorPropertyNodePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue