diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-03 09:38:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 09:38:03 +0200 |
commit | 57a5186b08af19f9e8c88df836b36d6ed2da76a8 (patch) | |
tree | 97886de69b3b3f7914c182e0c6e398344b75f9cf /scene/main | |
parent | c6879b150f6094d3836a86b0182d017f8cb8d3d1 (diff) | |
parent | 07a8f0fe3822edf39df737dcd82071e8ab80b4b0 (diff) |
Merge pull request #51006 from foxydevloper/drag-drop-naming
Name nodes added when drag & dropping an image by `name_casing`
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/node.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index 20315d7a86..0a88553ea1 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -67,6 +67,12 @@ public: #endif }; + enum NameCasing { + NAME_CASING_PASCAL_CASE, + NAME_CASING_CAMEL_CASE, + NAME_CASING_SNAKE_CASE + }; + struct Comparator { bool operator()(const Node *p_a, const Node *p_b) const { return p_b->is_greater_than(p_a); } }; @@ -140,12 +146,6 @@ private: } data; - enum NameCasing { - NAME_CASING_PASCAL_CASE, - NAME_CASING_CAMEL_CASE, - NAME_CASING_SNAKE_CASE - }; - Ref<MultiplayerAPI> multiplayer; void _print_tree_pretty(const String &prefix, const bool last); |