diff options
| author | Juan Linietsky <juan@godotengine.org> | 2020-02-20 18:58:05 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-21 14:25:29 +0100 |
| commit | 3c0059650da3f1feb3c95364d571fe706826dec6 (patch) | |
| tree | a36ba94f313e2dee88dc2eb253175849fb2d4138 /core/node_path.h | |
| parent | 7ac0973e9abb308b91597dd8881aeed62682733c (diff) | |
| download | redot-engine-3c0059650da3f1feb3c95364d571fe706826dec6.tar.gz | |
Added StringName as a variant type.
Also changed all relevant properties defined manually to StringName.
Diffstat (limited to 'core/node_path.h')
| -rw-r--r-- | core/node_path.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/node_path.h b/core/node_path.h index 5439658910..05b6d844ff 100644 --- a/core/node_path.h +++ b/core/node_path.h @@ -54,15 +54,6 @@ class NodePath { void _update_hash_cache() const; public: - _FORCE_INLINE_ StringName get_sname() const { - - if (data && data->path.size() == 1 && data->subpath.empty()) { - return data->path[0]; - } else { - return operator String(); - } - } - bool is_absolute() const; int get_name_count() const; StringName get_name(int p_idx) const; |
