summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-02-29 09:56:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-02-29 09:57:38 -0300
commit210d332defffb5528da6c6aff3b28fb8732bf007 (patch)
treebb38c77cf1b059f31e0c5da8b1ac060f2e5d36e8 /modules
parent445d38b7280b25caec1b9728f68d0aa0f69917b6 (diff)
-wip on addon editor
-fixes instantiable subclasses not working, as reported in #3871
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gd_compiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_compiler.cpp b/modules/gdscript/gd_compiler.cpp
index 53519030fc..403af8eb04 100644
--- a/modules/gdscript/gd_compiler.cpp
+++ b/modules/gdscript/gd_compiler.cpp
@@ -1712,6 +1712,8 @@ Error GDCompiler::_parse_class(GDScript *p_script,GDScript *p_owner,const GDPars
}
}
#endif
+
+ p_script->valid=true;
return OK;
}