Merge pull request #466 from teyrana/fix_463_motor_display
[fixes #463] Motors now rotate in RocketFigure side-view, back-view
This commit is contained in:
commit
2b78647f8a
@ -276,6 +276,9 @@ public class RocketFigure extends AbstractScaleFigure {
|
||||
Coordinate curMotorLocation = curMountLocation.add( mountLength - motorLength + mount.getMotorOverhang(), 0, 0);
|
||||
// System.err.println(String.format(" mount instance: %s => %s", curMountLocation.toString(), curMotorLocation.toString() ));
|
||||
|
||||
// rotate by figure's axial rotation:
|
||||
curMotorLocation = this.axialRotation.transform(curMotorLocation);
|
||||
|
||||
{
|
||||
Shape s;
|
||||
if (currentViewType == RocketPanel.VIEW_TYPE.SideView) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user