summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorYaohua Xiong <xiongyaohua@gmail.com>2022-12-06 20:45:17 +0800
committerYaohua Xiong <xiongyaohua@gmail.com>2022-12-06 20:45:17 +0800
commit322dbd095563cef09bebcaca3e6c6ea797fee367 (patch)
treef1af9cd1a1bfd94138e060dc87e6059daeea2ce3 /scene/2d
parent43e9ca40ff9a87655249e372654e2d30223363f7 (diff)
Fix Path2D fish bone direction
Diffstat (limited to 'scene/2d')
-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);
}
}