mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Handle GetAngle axis more gracefully too
This commit is contained in:
parent
6aef52931f
commit
4f74d09179
@ -162,8 +162,6 @@ namespace MWScript
|
||||
{
|
||||
runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2]));
|
||||
}
|
||||
else
|
||||
throw std::runtime_error ("invalid rotation axis: " + axis);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user