Fix #4843
This commit is contained in:
parent
0163e3fa88
commit
90277eebd5
@ -871,6 +871,14 @@ TrackObjectPresentationParticles::TrackObjectPresentationParticles(
|
|||||||
scene::ISceneNode* parent)
|
scene::ISceneNode* parent)
|
||||||
: TrackObjectPresentationSceneNode(xml_node)
|
: TrackObjectPresentationSceneNode(xml_node)
|
||||||
{
|
{
|
||||||
|
float heading = 0;
|
||||||
|
if (xml_node.get("h", &heading))
|
||||||
|
{
|
||||||
|
m_init_hpr.X = 0;
|
||||||
|
m_init_hpr.Y = heading;
|
||||||
|
m_init_hpr.Z = 0;
|
||||||
|
}
|
||||||
|
|
||||||
m_emitter = NULL;
|
m_emitter = NULL;
|
||||||
m_lod_emitter_node = NULL;
|
m_lod_emitter_node = NULL;
|
||||||
std::string path;
|
std::string path;
|
||||||
|
Loading…
Reference in New Issue
Block a user