修复播放之后,改变缩放的问题
This commit is contained in:
parent
37b0259579
commit
d2627b1527
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user