Normand Briere
2019-05-05 623dc0fa8cbd9473830a1786f6d49fa808a09439
ObjEditor.java
....@@ -752,7 +752,7 @@
752752 protected static ImageIcon createImageIcon(String path,
753753 String description)
754754 {
755
- java.net.URL imgURL = GrafreeD.class.getResource(path);
755
+ java.net.URL imgURL = Grafreed.class.getResource(path);
756756 if (imgURL != null)
757757 {
758758 return new ImageIcon(imgURL, description);
....@@ -1476,19 +1476,19 @@
14761476
14771477 cGridBag editBar = new cGridBag().setVertical(false);
14781478
1479
- editBar.add(createMaterialButton = new cButton("Create", !GrafreeD.NIMBUSLAF)); // , aConstraints);
1479
+ editBar.add(createMaterialButton = new cButton("Create", !Grafreed.NIMBUSLAF)); // , aConstraints);
14801480 createMaterialButton.setToolTipText("Create material");
14811481
14821482 /*
14831483 ctrlPanel.add(resetSlidersButton = new cButton("Reset All"), aConstraints);
14841484 */
14851485
1486
- editBar.add(clearMaterialButton = new cButton("Clear", !GrafreeD.NIMBUSLAF)); // , aConstraints);
1486
+ editBar.add(clearMaterialButton = new cButton("Clear", !Grafreed.NIMBUSLAF)); // , aConstraints);
14871487 clearMaterialButton.setToolTipText("Clear material");
14881488
14891489 if (Globals.ADVANCED)
14901490 {
1491
- editBar.add(resetSlidersButton = new cButton("Reset", !GrafreeD.NIMBUSLAF)); // , aConstraints);
1491
+ editBar.add(resetSlidersButton = new cButton("Reset", !Grafreed.NIMBUSLAF)); // , aConstraints);
14921492 editBar.add(propagateToggle = new cCheckBox("Prop", propagate)); // , aConstraints);
14931493 editBar.add(multiplyToggle = new cCheckBox("Mult", false)); // , aConstraints);
14941494 }
....@@ -2396,7 +2396,7 @@
23962396
23972397 void ImportJME(com.jmex.model.converters.FormatConverter converter, String ext, String dialogName)
23982398 {
2399
- if (GrafreeD.standAlone)
2399
+ if (Grafreed.standAlone)
24002400 {
24012401 /**/
24022402 FileDialog browser = new FileDialog(frame, dialogName, FileDialog.LOAD);
....@@ -3255,8 +3255,8 @@
32553255
32563256 Globals.ANIMATION ^= true;
32573257
3258
- GrafreeD.wav.cursor = 0;
3259
- GrafreeD.wav.loop = 0;
3258
+ Grafreed.wav.cursor = 0;
3259
+ Grafreed.wav.loop = 0;
32603260 }
32613261 } else
32623262 {
....@@ -4200,7 +4200,7 @@
42004200
42014201 void load() // throws ClassNotFoundException
42024202 {
4203
- if (GrafreeD.standAlone)
4203
+ if (Grafreed.standAlone)
42044204 {
42054205 FileDialog browser = new FileDialog(frame, "Load", FileDialog.LOAD);
42064206 browser.show();
....@@ -4305,7 +4305,7 @@
43054305
43064306 void saveAs()
43074307 {
4308
- if (GrafreeD.standAlone)
4308
+ if (Grafreed.standAlone)
43094309 {
43104310 FileDialog browser = new FileDialog(frame, "Save As", FileDialog.SAVE);
43114311 browser.setVisible(true);
....@@ -4416,7 +4416,7 @@
44164416 Object3D objectparent = obj.parent;
44174417 obj.parent = null;
44184418
4419
- Object3D object = (Object3D) GrafreeD.clone(obj);
4419
+ Object3D object = (Object3D) Grafreed.clone(obj);
44204420
44214421 obj.parent = objectparent;
44224422
....@@ -4450,7 +4450,7 @@
44504450 buffer.append("background { color rgb <0.8,0.8,0.8> }\n\n");
44514451 cameraView.renderCamera.generatePOV(buffer, bnds.width, bnds.height);
44524452 copy.generatePOV(buffer);
4453
- if (GrafreeD.standAlone)
4453
+ if (Grafreed.standAlone)
44544454 {
44554455 FileDialog browser = new FileDialog(frame, "Export POV", 1);
44564456 browser.show();