Normand Briere
2019-08-06 ae8dc339f59e972a932b9097d47271e245e4ca9a
GroupEditor.java
....@@ -16,6 +16,7 @@
1616 //import buoy.widget.BFileChooser;
1717
1818 class GroupEditor extends ObjEditor implements //iParse, //iCallBack,
19
+ Grafreed.iResourceCallBack,
1920 ObjectUI,
2021 Runnable,
2122 ActionListener,
....@@ -311,12 +312,24 @@
311312 }
312313 }
313314
314
- public void ChangeSkybox(String name)
315
+ public void CallBack(String[] path)
316
+ {
317
+ for (int i = 0; i < path.length; i++)
318
+ {
319
+ System.out.print(path[i] + "/");
320
+ }
321
+
322
+ System.out.println();
323
+ }
324
+
325
+ public void ChangeSkybox(String skybox)
315326 {
316327 //cameraView.envyoff = false;
317
- group.skyboxname = name;
328
+ group.skyboxname = skybox;
318329 group.skyboxext = "jpg";
319330 cameraView.repaint();
331
+
332
+ Grafreed.ParseResources("textures", this);
320333 }
321334
322335 //ObjEditor objEditor;