Merge pull request #1591 from MostafaHassan/pr_FixCrashInVisualShader

(Fix crash) in visual shader for curve remap node
This commit is contained in:
Juan Linietsky
2015-04-07 20:14:10 -03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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()) {