16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 12:19:18 +02:00

Configurable velocity when mirrors close

This commit is contained in:
Królik Uszasty
2020-10-15 21:16:05 +02:00
committed by tmj-fstate
parent b94e537a8b
commit 954b908890
3 changed files with 4 additions and 1 deletions

View File

@@ -3899,7 +3899,7 @@ bool TDynamicObject::Update(double dt, double dt1)
}
// mirrors
if( MoverParameters->Vel > 5.0 ) {
if( MoverParameters->Vel > MoverParameters->MirrorVelClose ) {
// automatically fold mirrors when above velocity threshold
if( dMirrorMoveL > 0.0 ) {
dMirrorMoveL = std::max(