Normand Briere
2019-08-23 60cec91731a350fe67e9b5ffe7a00d70e9026314
Object3D.java
....@@ -687,7 +687,7 @@
687687 {
688688 if (maxcount != 1)
689689 {
690
- new Exception().printStackTrace();
690
+ //new Exception().printStackTrace();
691691 }
692692
693693 toParentMarked = LA.newMatrix();
....@@ -2369,11 +2369,6 @@
23692369
23702370 InitOthers();
23712371
2372
- if (this instanceof Camera)
2373
- {
2374
- material.shift = 90;
2375
- }
2376
-
23772372 material.multiply = multiply;
23782373
23792374 if (multiply)
....@@ -7716,7 +7711,9 @@
77167711
77177712 scale *= 0.05f * Globals.theRenderer.RenderCamera().Distance();
77187713
7719
- if (modified || opposite)
7714
+ // Modified could snap
7715
+ if (//modified ||
7716
+ opposite)
77207717 {
77217718 //assert(false);
77227719 /*
....@@ -7810,7 +7807,7 @@
78107807
78117808 if (modified)
78127809 {
7813
- // Rotate 90 degrees
7810
+ // Rotate 45 degrees
78147811 angle /= (Math.PI / 4);
78157812 angle = Math.floor(angle + 0.5);
78167813 angle *= (Math.PI / 4);
....@@ -7896,7 +7893,7 @@
78967893 case 3: // '\001'
78977894 if (modified || opposite)
78987895 {
7899
- if (modified && opposite)
7896
+ if (modified) // && opposite)
79007897 LA.matScale(toParent, totalScale, totalScale, totalScale);
79017898 else
79027899 //LA.matScale(toParent, 1, hScale, vScale);
....@@ -7912,7 +7909,7 @@
79127909 case 2: // '\002'
79137910 if (modified || opposite)
79147911 {
7915
- if (modified && opposite)
7912
+ if (modified) // && opposite)
79167913 LA.matScale(toParent, totalScale, totalScale, totalScale);
79177914 else
79187915 //LA.matScale(toParent, hScale, 1, vScale);
....@@ -7926,7 +7923,7 @@
79267923 case 1: // '\003'
79277924 if (modified || opposite)
79287925 {
7929
- if (modified && opposite)
7926
+ if (modified) // && opposite)
79307927 LA.matScale(toParent, totalScale, totalScale, totalScale);
79317928 else
79327929 //LA.matScale(toParent, hScale, vScale, 1);