summaryrefslogtreecommitdiffstats
path: root/scene
diff options
context:
space:
mode:
authorfoxydevloper <12120644+foxydevloper@users.noreply.github.com>2021-07-29 00:26:34 -0400
committerfoxydevloper <12120644+foxydevloper@users.noreply.github.com>2021-07-29 00:29:24 -0400
commit07a8f0fe3822edf39df737dcd82071e8ab80b4b0 (patch)
treef122069ab61d8df1477312f866751d74f426983d /scene
parent48857194b360dabdaac7cd4c9c6714546ca15aa1 (diff)
downloadredot-engine-07a8f0fe3822edf39df737dcd82071e8ab80b4b0.tar.gz
Name nodes added from drag & drop by `name_casing`
Diffstat (limited to 'scene')
-rw-r--r--scene/main/node.h12
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);