Normand Briere
2019-08-16 64e20f390e4b8e58bd0006dde8fa10fba1dac1d5
Object3D.java
....@@ -7417,7 +7417,7 @@
74177417 boundary.y = spot.y - 30;
74187418 boundary.width = spot.width + 60;
74197419 boundary.height = spot.height + 60;
7420
- clickInfo.g.setColor(Color.red);
7420
+ clickInfo.g.setColor(Color.white);
74217421 int spotw = spot.x + spot.width;
74227422 int spoth = spot.y + spot.height;
74237423 clickInfo.g.fillRect(spot.x, spot.y, spot.width, spot.height);
....@@ -7818,21 +7818,27 @@
78187818 case 3: // '\001'
78197819 if (modified || opposite)
78207820 {
7821
+ if (modified && opposite)
7822
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7823
+ else
78217824 //LA.matScale(toParent, 1, hScale, vScale);
7822
- LA.matScale(toParent, totalScale, 1, 1);
7825
+ LA.matScale(toParent, totalScale, 1, 1);
78237826 } // vScale, 1);
78247827 else
78257828 {
78267829 // EXCEPTION!
7827
- LA.matScale(toParent, totalScale, totalScale, totalScale);
7830
+ LA.matScale(toParent, 1, totalScale, totalScale);
78287831 } // vScale, 1);
78297832 break;
78307833
78317834 case 2: // '\002'
78327835 if (modified || opposite)
78337836 {
7834
- //LA.matScale(toParent, hScale, 1, vScale);
7835
- LA.matScale(toParent, 1, totalScale, 1);
7837
+ if (modified && opposite)
7838
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7839
+ else
7840
+ //LA.matScale(toParent, hScale, 1, vScale);
7841
+ LA.matScale(toParent, 1, totalScale, 1);
78367842 } else
78377843 {
78387844 LA.matScale(toParent, totalScale, 1, totalScale);
....@@ -7842,8 +7848,11 @@
78427848 case 1: // '\003'
78437849 if (modified || opposite)
78447850 {
7845
- //LA.matScale(toParent, hScale, vScale, 1);
7846
- LA.matScale(toParent, 1, 1, totalScale);
7851
+ if (modified && opposite)
7852
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7853
+ else
7854
+ //LA.matScale(toParent, hScale, vScale, 1);
7855
+ LA.matScale(toParent, 1, 1, totalScale);
78477856 } else
78487857 {
78497858 LA.matScale(toParent, totalScale, totalScale, 1);