Normand Briere
2019-08-16 83d0c2fa0bd2e96448f776144e1a89cdb1bb6998
Object3D.java
....@@ -36,6 +36,8 @@
3636 Object3D versionlist[];
3737 int versionindex = -1;
3838
39
+ java.util.Hashtable<java.util.UUID, Object3D> versiontable; // = new java.util.Hashtable<java.util.UUID, Object3D>();
40
+
3941 ScriptNode scriptnode;
4042
4143 void InitOthers()
....@@ -7417,7 +7419,7 @@
74177419 boundary.y = spot.y - 30;
74187420 boundary.width = spot.width + 60;
74197421 boundary.height = spot.height + 60;
7420
- clickInfo.g.setColor(Color.red);
7422
+ clickInfo.g.setColor(Color.white);
74217423 int spotw = spot.x + spot.width;
74227424 int spoth = spot.y + spot.height;
74237425 clickInfo.g.fillRect(spot.x, spot.y, spot.width, spot.height);
....@@ -7818,21 +7820,27 @@
78187820 case 3: // '\001'
78197821 if (modified || opposite)
78207822 {
7823
+ if (modified && opposite)
7824
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7825
+ else
78217826 //LA.matScale(toParent, 1, hScale, vScale);
7822
- LA.matScale(toParent, totalScale, 1, 1);
7827
+ LA.matScale(toParent, totalScale, 1, 1);
78237828 } // vScale, 1);
78247829 else
78257830 {
78267831 // EXCEPTION!
7827
- LA.matScale(toParent, totalScale, totalScale, totalScale);
7832
+ LA.matScale(toParent, 1, totalScale, totalScale);
78287833 } // vScale, 1);
78297834 break;
78307835
78317836 case 2: // '\002'
78327837 if (modified || opposite)
78337838 {
7834
- //LA.matScale(toParent, hScale, 1, vScale);
7835
- LA.matScale(toParent, 1, totalScale, 1);
7839
+ if (modified && opposite)
7840
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7841
+ else
7842
+ //LA.matScale(toParent, hScale, 1, vScale);
7843
+ LA.matScale(toParent, 1, totalScale, 1);
78367844 } else
78377845 {
78387846 LA.matScale(toParent, totalScale, 1, totalScale);
....@@ -7842,8 +7850,11 @@
78427850 case 1: // '\003'
78437851 if (modified || opposite)
78447852 {
7845
- //LA.matScale(toParent, hScale, vScale, 1);
7846
- LA.matScale(toParent, 1, 1, totalScale);
7853
+ if (modified && opposite)
7854
+ LA.matScale(toParent, totalScale, totalScale, totalScale);
7855
+ else
7856
+ //LA.matScale(toParent, hScale, vScale, 1);
7857
+ LA.matScale(toParent, 1, 1, totalScale);
78477858 } else
78487859 {
78497860 LA.matScale(toParent, totalScale, totalScale, 1);