From a742f6cebf1d471217d836e07934e5c02c22b6db Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Wed, 01 May 2019 16:43:56 -0400 Subject: [PATCH] Fix skin default. --- ObjEditor.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ObjEditor.java b/ObjEditor.java index 565390e..d3eefb5 100644 --- a/ObjEditor.java +++ b/ObjEditor.java @@ -951,10 +951,6 @@ void SetupUI2(ObjEditor oe) { -// oe.aConstraints.weightx = 0; -// oe.aConstraints.weighty = 0; -// oe.aConstraints.gridx = 0; -// oe.aConstraints.gridy = 0; //SetupName(oe); namePanel = new cGridBag(); @@ -971,7 +967,8 @@ setupPanel = new cGridBag().setVertical(false); liveCB = AddCheckBox(setupPanel, "Live", copy.live); - link2masterCB = AddCheckBox(setupPanel, "Supp", copy.link2master); + if (Globals.ADVANCED) + link2masterCB = AddCheckBox(setupPanel, "Supp", copy.link2master); hideCB = AddCheckBox(setupPanel, "Hide", copy.hide); // Return(); markCB = AddCheckBox(setupPanel, "Mark", copy.marked); @@ -3205,7 +3202,7 @@ if (!Globals.ANIMATION) { FileDialog browser = new FileDialog(frame, "Save Animation As...", FileDialog.SAVE); - browser.show(); + browser.setVisible(true); String filename = browser.getFile(); if (filename != null && filename.length() > 0) { -- Gitblit v1.6.2