Normand Briere
2019-05-01 d1e1417edc8a6ccf195b6da3270f22234dda61e4
CameraPane.java
....@@ -56,8 +56,6 @@
5656 static int CURRENTANTIALIAS = 0; // 1;
5757 /*static*/ boolean RENDERSHADOW = true;
5858 /*static*/ int RENDERPROGRAM = 2; // 0 == none, 1 == fast, 2 == normal
59
- static boolean ANIMATION = false;
60
- static String filename;
6159
6260 boolean DISPLAYTEXT = false;
6361 //boolean REDUCETEXTURE = true;
....@@ -86,7 +84,7 @@
8684 static boolean FULLSCREEN = false;
8785 static boolean SUPPORT = true;
8886 static boolean INERTIA = true;
89
-static boolean FAST = true; // false;
87
+static boolean FAST = false;
9088 static boolean SLOWPOSE = false;
9189 static boolean FOOTCONTACT = true;
9290
....@@ -4208,6 +4206,7 @@
42084206
42094207 com.sun.opengl.util.texture.Texture CompressTexture2(String name)
42104208 {
4209
+ new Exception().printStackTrace();
42114210 System.exit(0);
42124211 com.sun.opengl.util.texture.Texture texture = null;
42134212
....@@ -9394,7 +9393,7 @@
93949393 //gl.glFlush();
93959394 gl.glAccum(gl.GL_ACCUM, 1.0f / ACSIZE);
93969395
9397
- if (ANIMATION && ABORTED)
9396
+ if (Globals.ANIMATION && ABORTED)
93989397 {
93999398 System.err.println(" ABORTED FRAME");
94009399 break;
....@@ -9424,7 +9423,7 @@
94249423 setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
94259424
94269425 // save image
9427
- if (ANIMATION && !ABORTED)
9426
+ if (Globals.ANIMATION && !ABORTED)
94289427 {
94299428 VPwidth = viewport[2];
94309429 VPheight = viewport[3];
....@@ -9535,7 +9534,7 @@
95359534
95369535 // imagecount++;
95379536
9538
- String fullname = filename + (i%100000)/10000 + "" + (i%10000)/1000 + "" + (i%1000)/100 + "" + (i%100)/10 + "" + (i%10) + "." + ext;
9537
+ String fullname = Globals.filename + (i%100000)/10000 + "" + (i%10000)/1000 + "" + (i%1000)/100 + "" + (i%100)/10 + "" + (i%10) + "." + ext;
95399538
95409539 if (!BOXMODE)
95419540 {
....@@ -11259,8 +11258,14 @@
1125911258 {
1126011259 renderpass++;
1126111260 // System.out.println("Draw object... ");
11261
+ STEP = 1;
1126211262 if (FAST) // in case there is no script
11263
- STEP = 16;
11263
+ STEP = 8;
11264
+
11265
+ if (CURRENTANTIALIAS == 0 || ACSIZE == 1)
11266
+ {
11267
+ STEP *= 4;
11268
+ }
1126411269
1126511270 //object.FullInvariants();
1126611271
....@@ -13946,6 +13951,7 @@
1394613951
1394713952 public void run()
1394813953 {
13954
+ new Exception().printStackTrace();
1394913955 System.exit(0);
1395013956 for (;;)
1395113957 {
....@@ -15144,6 +15150,7 @@
1514415150
1514515151 void SelectParent()
1514615152 {
15153
+ new Exception().printStackTrace();
1514715154 System.exit(0);
1514815155 Composite group = (Composite) object;
1514915156 java.util.Vector selectees = new java.util.Vector(group.selection);
....@@ -15167,6 +15174,7 @@
1516715174
1516815175 void SelectChildren()
1516915176 {
15177
+ new Exception().printStackTrace();
1517015178 System.exit(0);
1517115179 /*
1517215180 Composite group = (Composite) object;
....@@ -16280,6 +16288,7 @@
1628016288 {
1628116289 if (!selection)
1628216290 {
16291
+ new Exception().printStackTrace();
1628316292 System.exit(0);
1628416293 return;
1628516294 }