Skip to content

Commit 495f44e

Browse files
committed
Update change log
1 parent 22a63b8 commit 495f44e

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
############# BEGIN BLOCK FOR COPYING BELOW #############
6060
#########################################################
6161
platform_short: [lin, mac, win]
62-
toolset_short: [gcc, msvc, mingw]
62+
toolset_short: [gcc, msvc]
6363
machine_short: [x86_64, i686]
64-
static_dynamic: [static, dynamic]
64+
static_dynamic: [static]
6565
exclude:
6666
- toolset_short: mingw
6767
machine_short: i686 # remove this line after copying the matrix below
@@ -141,7 +141,7 @@ jobs:
141141
############# BEGIN BLOCK COPIED FROM ABOVE #############
142142
#########################################################
143143
platform_short: [lin, mac, win]
144-
toolset_short: [gcc, msvc, mingw]
144+
toolset_short: [gcc, msvc]
145145
machine_short: [x86_64, i686]
146146
static_dynamic: [static, dynamic]
147147
exclude:
@@ -196,4 +196,4 @@ jobs:
196196
python-version: '3.8'
197197
- id: get_type
198198
run: python3 ./.github/get-type.py ${{ github.ref }}
199-
- run: ./.github/starcatcher-publish.sh "https://starcatcher.us/TPT/perform-release.lua?mod=${{ steps.get_type.outputs.MOD_ID }}&type=${{ steps.get_type.outputs.TYPE }}&name=${{ steps.get_type.outputs.NAME }}&commit=${{ github.sha }}"
199+
- run: ./.github/starcatcher-release.sh "https://starcatcher.us/TPT/perform-release.lua?mod=${{ steps.get_type.outputs.MOD_ID }}&type=${{ steps.get_type.outputs.TYPE }}&name=${{ steps.get_type.outputs.NAME }}&commit=${{ github.sha }}"

changelog.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@
33
# Lines starting with # and empty lines are ignored
44

55
- Fix crash with kill_part
6-
7-
^ TODO: stil lcrashes?? (w/ stamp)
8-
9-
TODO:
10-
- lua script crash
11-
- update tpt multi
6+
- Update to 96.2
7+
- Update TPTMP

src/simulation/stress/stress.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ void StressField::ComputeStress(int x, int y) {
5757
bool has_tension = sim->elements[TYP(r)].Properties & TYPE_SOLID;
5858

5959
// The 3 pixels roughly in the direction of the force
60-
int nox1 = isign(round(cos(force_angle))), noy1 = isign(round(sin(force_angle)));
61-
int nox2 = isign(round(cos(force_angle + PI_4))), noy2 = isign(round(sin(force_angle + PI_4)));
62-
int nox3 = isign(round(cos(force_angle - PI_4))), noy3 = isign(round(sin(force_angle - PI_4)));
60+
int nox1 = isign((float)round(cos(force_angle))), noy1 = isign((float)round(sin(force_angle)));
61+
int nox2 = isign((float)round(cos(force_angle + PI_4))), noy2 = isign((float)round(sin(force_angle + PI_4)));
62+
int nox3 = isign((float)round(cos(force_angle - PI_4))), noy3 = isign((float)round(sin(force_angle - PI_4)));
6363

6464
// Compression, apply in direction
6565
for (int rx = -1; rx <= 1; ++rx)

0 commit comments

Comments
 (0)