From ae8dc339f59e972a932b9097d47271e245e4ca9a Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Tue, 06 Aug 2019 19:35:43 -0400 Subject: [PATCH] Proto textures parsing. --- GroupEditor.java | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/GroupEditor.java b/GroupEditor.java index 5698ae1..ed46f77 100644 --- a/GroupEditor.java +++ b/GroupEditor.java @@ -16,6 +16,7 @@ //import buoy.widget.BFileChooser; class GroupEditor extends ObjEditor implements //iParse, //iCallBack, + Grafreed.iResourceCallBack, ObjectUI, Runnable, ActionListener, @@ -311,12 +312,24 @@ } } - public void ChangeSkybox(String name) + public void CallBack(String[] path) + { + for (int i = 0; i < path.length; i++) + { + System.out.print(path[i] + "/"); + } + + System.out.println(); + } + + public void ChangeSkybox(String skybox) { //cameraView.envyoff = false; - group.skyboxname = name; + group.skyboxname = skybox; group.skyboxext = "jpg"; cameraView.repaint(); + + Grafreed.ParseResources("textures", this); } //ObjEditor objEditor; -- Gitblit v1.6.2