Disable time easing if ctrl key pressed.
This commit is contained in:
parent
1399640d79
commit
9121079cfe
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ void TimeManager::setTimeOffset(const std::string& offset_type, long int offset)
|
|||
warp = 0;
|
||||
}
|
||||
|
||||
if( fgGetBool("/sim/time/warp-easing", false) ) {
|
||||
if( fgGetBool("/sim/time/warp-easing", false) && !fgGetBool("/devices/status/keyboard/ctrl", false)) {
|
||||
double duration = fgGetDouble("/sim/time/warp-easing-duration-secs", 5.0 );
|
||||
const string easing = fgGetString("/sim/time/warp-easing-method", "swing" );
|
||||
SGPropertyNode n;
|
||||
|
|
Loading…
Reference in a new issue