修复播放之后,改变缩放的问题

This commit is contained in:
brige 2025-07-20 15:30:57 +08:00
parent 37b0259579
commit d2627b1527

View File

@ -104,7 +104,7 @@ void PathComponent::Update(double dt) {
osg::Vec3 angle;
OsgUtils::QuatToHPR(cp.getRotation(), &angle);
transform->SetRotation(angle);
transform->SetScale(cp.getScale());
// transform->SetScale(cp.getScale());
}
void PathComponent::SetPath(const QString& path) {