Skip to content

Commit

Permalink
Merge pull request #74 from V-Sekai/reset-path
Browse files Browse the repository at this point in the history
Update Windows workflow to use the official Godot repository
  • Loading branch information
fire committed Oct 11, 2023
2 parents 0d50c62 + 8c87cf1 commit 104ef4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
# Clone Godot
- uses: actions/checkout@v2
with:
repository: v-sekai/godot
ref: groups-4.x
repository: godotengine/godot
ref: master

# Clone our module under the correct directory
- uses: actions/checkout@v2
Expand Down Expand Up @@ -88,8 +88,8 @@ jobs:
# Clone Godot
- uses: actions/checkout@v2
with:
repository: v-sekai/godot
ref: groups-4.x
repository: godotengine/godot
ref: master

# Clone our module under the correct directory
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions visual_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,10 @@ bool VisualScript::can_instantiate() const {
return true; // ScriptServer::is_scripting_enabled();
}

bool VisualScript::is_abstract() const {
return false;
}

StringName VisualScript::get_instance_base_type() const { return base_type; }

Ref<Script> VisualScript::get_base_script() const {
Expand Down
2 changes: 2 additions & 0 deletions visual_script.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ class VisualScript : public Script {
void set_instance_base_type(const StringName &p_type);

virtual bool can_instantiate() const override;
virtual bool is_abstract() const override;

virtual Ref<Script> get_base_script() const override;
virtual StringName get_global_name() const override;
Expand Down Expand Up @@ -624,6 +625,7 @@ class VisualScriptLanguage : public ScriptLanguage {
//////////////////////////////////////

virtual String get_name() const override;
virtual void get_doc_comment_delimiters(List<String> *p_delimiters) const override {};

/* LANGUAGE FUNCTIONS */
virtual void init() override;
Expand Down

0 comments on commit 104ef4f

Please sign in to comment.