summaryrefslogtreecommitdiff
path: root/scene/2d/path_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-06 15:16:35 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-06 15:16:35 +0100
commitf9aea4d94094a321d5e64763f158a4861df37cec (patch)
tree190aa983b391200f32720394ffe4d0798cd635c1 /scene/2d/path_2d.cpp
parentbd290ad566df70b73ae28d4ff360088d9e474a14 (diff)
parent322dbd095563cef09bebcaca3e6c6ea797fee367 (diff)
Merge pull request #69660 from xiongyaohua/fix_path2d_fish_bone_direction
Fix Path2D fish bone direction
Diffstat (limited to 'scene/2d/path_2d.cpp')
-rw-r--r--scene/2d/path_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp
index 3876ab128c..823b8d56e3 100644
--- a/scene/2d/path_2d.cpp
+++ b/scene/2d/path_2d.cpp
@@ -120,7 +120,7 @@ void Path2D::_notification(int p_what) {
Transform2D *w = frames.ptrw();
for (int i = 0; i < sample_count; i++) {
- w[i] = curve->sample_baked_with_rotation(i * interval, true);
+ w[i] = curve->sample_baked_with_rotation(i * interval, false);
}
}