mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-02 09:48:36 +03:00
Compare commits
5 Commits
godot-3.4-
...
godot-3.4.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59ecf3b990 | ||
|
|
4efceefe13 | ||
|
|
a93f7f9e73 | ||
|
|
b31e690a91 | ||
|
|
a0f2ab1f31 |
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -21,8 +21,8 @@ jobs:
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qqq build-essential pkg-config
|
||||
python -m pip install scons
|
||||
curl -LO https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_linux_server.64.zip
|
||||
unzip Godot_v3.3.3-stable_linux_server.64.zip
|
||||
curl -LO https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_linux_server.64.zip
|
||||
unzip Godot_v3.4-stable_linux_server.64.zip
|
||||
|
||||
- name: Build godot-cpp
|
||||
run: |
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Run test GDNative library
|
||||
run: |
|
||||
./Godot_v3.3.3-stable_linux_server.64 --path test -s script.gd
|
||||
./Godot_v3.4-stable_linux_server.64 --path test -s script.gd
|
||||
|
||||
windows-msvc:
|
||||
name: Build (Windows, MSVC)
|
||||
@@ -123,8 +123,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install scons
|
||||
curl -LO https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_osx.universal.zip
|
||||
unzip Godot_v3.3.3-stable_osx.universal.zip
|
||||
curl -LO https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_osx.universal.zip
|
||||
unzip Godot_v3.4-stable_osx.universal.zip
|
||||
|
||||
- name: Build godot-cpp
|
||||
run: |
|
||||
|
||||
Submodule godot-headers updated: d1596b939d...c941c6076f
@@ -188,6 +188,7 @@ Variant::Variant(const PoolColorArray &p_color_array) {
|
||||
}
|
||||
|
||||
Variant &Variant::operator=(const Variant &v) {
|
||||
godot::api->godot_variant_destroy(&_godot_variant);
|
||||
godot::api->godot_variant_new_copy(&_godot_variant, &v._godot_variant);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user