Bugfix with new lod
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
10947608d8
commit
d095e14039
@ -609,6 +609,7 @@ void Track::convertTrackToBullet(scene::ISceneNode *node)
|
||||
"This track contains an empty LOD group.");
|
||||
return;
|
||||
}
|
||||
node->updateAbsolutePosition();
|
||||
}
|
||||
node->updateAbsolutePosition();
|
||||
|
||||
@ -1084,6 +1085,7 @@ bool Track::loadMainTrack(const XMLNode &root)
|
||||
node->setPosition(xyz);
|
||||
node->setRotation(hpr);
|
||||
node->setScale(scale);
|
||||
node->updateAbsolutePosition();
|
||||
|
||||
m_all_nodes.push_back( node );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user