Normand Briere
2019-04-22 c60a1ad4f6aa4904e80280586b440a584b5ff061
GroupEditor.java
....@@ -437,7 +437,7 @@
437437 oe.aConstraints.gridwidth = 1;
438438 oe.aConstraints.gridx = 0;
439439
440
- oe.toolbarPanel.add(liveCB = new cCheckBox("Live", CameraPane.isLIVE()), oe.aConstraints);
440
+ oe.toolbarPanel.add(liveCB = new cCheckBox("Live", Globals.isLIVE()), oe.aConstraints);
441441 liveCB.addItemListener(this);
442442
443443 oe.aConstraints.gridx += 1;
....@@ -449,7 +449,7 @@
449449 // localCB.addItemListener(this);
450450
451451 oe.aConstraints.gridx += 1;
452
- oe.toolbarPanel.add(crowdCB = new cCheckBox("Crowd", CameraPane.CROWD), oe.aConstraints);
452
+ oe.toolbarPanel.add(crowdCB = new cCheckBox("Crowd", Globals.CROWD), oe.aConstraints);
453453 crowdCB.addItemListener(this);
454454
455455 oe.aConstraints.gridx += 1;
....@@ -1782,7 +1782,7 @@
17821782 } else
17831783 if (event.getSource() == computeAOItem)
17841784 {
1785
- CameraPane.drawMode = CameraPane.OCCLUSION;
1785
+ Globals.drawMode = CameraPane.OCCLUSION;
17861786 CameraPane.theRenderer.repaint();
17871787 } else
17881788 if (event.getSource() == recompileItem)
....@@ -2920,7 +2920,8 @@
29202920 cameraView.cameras[cameraView.cameracount] = radio.camera;
29212921 cameraView.targetLookAt.set(radio.camera.lookAt);
29222922 cameraView.object = group;
2923
- cameraView.lighttouched = true;
2923
+ //cameraView.lighttouched = true;
2924
+ Globals.lighttouched = true;
29242925 topView.object = group;
29252926 frontView.object = group;
29262927 sideView.object = group;
....@@ -2956,7 +2957,7 @@
29562957 if (useclient)
29572958 {
29582959 cameraView.object = client;
2959
- cameraView.lighttouched = true;
2960
+ Globals.lighttouched = true;
29602961 //topView.object = client;
29612962 //frontView.object = client;
29622963 //sideView.object = client;
....@@ -2964,7 +2965,7 @@
29642965 else
29652966 {
29662967 cameraView.object = group;
2967
- cameraView.lighttouched = true;
2968
+ Globals.lighttouched = true;
29682969 //topView.object = group;
29692970 //frontView.object = group;
29702971 //sideView.object = group;
....@@ -4058,7 +4059,7 @@
40584059
40594060 objEditor.SetText(); // jan 2014
40604061
4061
- if (flashIt && !CameraPane.isLIVE() && tps != null && tps.length > 0 && !(((Object3D) tps[0].getLastPathComponent()) instanceof Camera))
4062
+ if (flashIt && !Globals.isLIVE() && tps != null && tps.length > 0 && !(((Object3D) tps[0].getLastPathComponent()) instanceof Camera))
40624063 CameraPane.flash = true;
40634064
40644065 if (tps != null && tps.length > 0 && ((Object3D) tps[0].getLastPathComponent()) instanceof Camera)