xhorizont / eepe

Automatically exported from code.google.com/p/eepe
0 stars 0 forks source link

MODE2 and 4 trims "mess up" #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.set mode 2 or 4 in Eepe preferencies
2.create new file and model, set THR Trim to -30
3.close and reopen the model editor
4.value -30 is on ELE.
second case:
1.set mode 2 or 4 in Eepe preferencies
2.create new file and model, set ELE Trim to -30
3.close and reopen the model editor
4.value -30 is on THR and ELE.

What is the expected output? What do you see instead?
Trim values stay untouched. 

What version of the product are you using? On what operating system?
eepe r274 on Linux and win7.

Please provide any additional information below.
Trims AIL and RUD are joined also in mode 2 and 4

it's very confusing when we use mode2 or 4
Thanks
g

Original issue reported on code.google.com by gbir...@gmail.com on 17 Oct 2011 at 7:08

GoogleCodeExporter commented 8 years ago
maybe it is same like in issue 100, but only for Mode 2 and Mode 4 "default 
stick mode"

Original comment by gbir...@gmail.com on 21 Oct 2011 at 6:17

GoogleCodeExporter commented 8 years ago
Trims AIL AND RUD are also joined in mode 3

Original comment by romolo.m...@gmail.com on 21 Oct 2011 at 9:09

GoogleCodeExporter commented 8 years ago
r273 is OK. But from r274 to current the trims are messed up. 

Original comment by gbir...@gmail.com on 4 Nov 2011 at 8:10

GoogleCodeExporter commented 8 years ago
problem is in modeledit.ccp

see the differencies:
http://code.google.com/p/eepe/source/diff?spec=svn284&r=274&format=side&path=/tr
unk/src/modeledit.cpp&old_path=/trunk/src/modeledit.cpp&old=264

in attachment is corrected code.

Original comment by gbir...@gmail.com on 4 Nov 2011 at 8:30

Attachments:

GoogleCodeExporter commented 8 years ago
Yes problem is in model edit but correct fix is to change the following 
functions as listed below

void ModelEdit::on_spinBox_S1_valueChanged(int value)
{
        g_model.trim[0] = value;
        updateSettings();
}

void ModelEdit::on_spinBox_S2_valueChanged(int value)
{
        g_model.trim[1] = value;
        updateSettings();
}

void ModelEdit::on_spinBox_S3_valueChanged(int value)
{
        g_model.trim[2] = value;
        updateSettings();
}

void ModelEdit::on_spinBox_S4_valueChanged(int value)
{
        g_model.trim[3] = value;
        updateSettings();
}

Original comment by romolo.m...@gmail.com on 4 Nov 2011 at 9:46

GoogleCodeExporter commented 8 years ago
Seem to have been solved by release 285
Mode 3 works without troubles.

Original comment by romolo.m...@gmail.com on 5 Nov 2011 at 2:15

GoogleCodeExporter commented 8 years ago
thanks its solved.
Please close issue.

Original comment by gbir...@gmail.com on 6 Nov 2011 at 9:00