You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
-remove unnecesary error report, fixes #3361
This commit is contained in:
@@ -3145,6 +3145,11 @@ Error GDParser::parse(const String& p_code, const String& p_base_path, bool p_ju
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool GDParser::is_tool_script() const {
|
||||
|
||||
return (head && head->type==Node::TYPE_CLASS && static_cast<const ClassNode*>(head)->tool);
|
||||
}
|
||||
|
||||
const GDParser::Node *GDParser::get_parse_tree() const {
|
||||
|
||||
return head;
|
||||
|
||||
Reference in New Issue
Block a user