diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-07 20:14:10 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-07 20:14:10 -0300 |
commit | b1bf4fcef2cdc0ebc35802c635062fd1b7367004 (patch) | |
tree | ee5c7f2213cebb6ce18296e01cbe424a906c0d2d /modules | |
parent | 8f07919a5f7f8d270182d33372c547e3c1d62b30 (diff) | |
parent | 78d734873d27d855e01d574a6dd3a6380b2fa5ec (diff) |
Merge pull request #1591 from MostafaHassan/pr_FixCrashInVisualShader
(Fix crash) in visual shader for curve remap node
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gd_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index 06c746c4fb..f13b51c008 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -1689,7 +1689,7 @@ bool GDScript::_update_exports() { } - if (c->extends_used && String(c->extends_file)!="") { + if (c->extends_used && String(c->extends_file)!="" && String(c->extends_file) != get_path()) { String path = c->extends_file; if (path.is_rel_path()) { |