mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 11:53:53 +00:00
Handle GetAngle axis more gracefully too
This commit is contained in:
parent
6aef52931f
commit
4f74d09179
1 changed files with 0 additions and 2 deletions
|
@ -162,8 +162,6 @@ namespace MWScript
|
||||||
{
|
{
|
||||||
runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2]));
|
runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2]));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
throw std::runtime_error ("invalid rotation axis: " + axis);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue