Fix some incorrect uses of String over StringName
These were accepting `SNAME` assignments
This commit is contained in:
parent
0d11108a01
commit
0f72b15bc2
2 changed files with 4 additions and 4 deletions
|
|
@ -291,7 +291,7 @@ void SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
|||
const PackedStringArray warnings = p_node->get_configuration_warnings();
|
||||
const int num_warnings = warnings.size();
|
||||
if (num_warnings > 0) {
|
||||
String warning_icon;
|
||||
StringName warning_icon;
|
||||
if (num_warnings == 1) {
|
||||
warning_icon = SNAME("NodeWarning");
|
||||
} else if (num_warnings <= 3) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue