diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-07-19 21:26:12 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-07-19 21:26:12 -0300 |
commit | 0988970c1fca780f51ba4f2dce6afebdfef7f292 (patch) | |
tree | 60d17bcf2424784f14c8a5f603d828c3053636cb /core/path_db.cpp | |
parent | 9de33e18f14f78165754e97ed0f7827b2e50d560 (diff) | |
download | redot-engine-0988970c1fca780f51ba4f2dce6afebdfef7f292.tar.gz |
Fixed properly not save signals that already exist in their base scenes, closes #5656
Diffstat (limited to 'core/path_db.cpp')
-rw-r--r-- | core/path_db.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/path_db.cpp b/core/path_db.cpp index 0956c4cd3f..d0feda5c82 100644 --- a/core/path_db.cpp +++ b/core/path_db.cpp @@ -53,6 +53,12 @@ uint32_t NodePath::hash() const { } +void NodePath::prepend_period() { + + if (data->path.size() && data->path[0].operator String()!=".") { + data->path.insert(0,"."); + } +} bool NodePath::is_absolute() const { |