.. | .. |
---|
1111 | 1111 | cGridBag skyboxpane = new cGridBag(); |
---|
1112 | 1112 | skyboxpane.preferredHeight = 100; |
---|
1113 | 1113 | |
---|
1114 | | - oe.toolboxPanel.add(skyboxpane); |
---|
| 1114 | + oe.skyboxPanel.add(skyboxpane); |
---|
1115 | 1115 | |
---|
1116 | 1116 | JTabbedPane skyboxpanel = new JTabbedPane(); |
---|
1117 | 1117 | skyboxpane.add(skyboxpanel); |
---|
.. | .. |
---|
1138 | 1138 | clearPanelButton.setToolTipText("Clear edit panel"); |
---|
1139 | 1139 | clearPanelButton.addActionListener(this); |
---|
1140 | 1140 | |
---|
1141 | | - editCommandsPanel.add(unselectButton = new cButton("U", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
1142 | | - unselectButton.setToolTipText("Unselect"); |
---|
1143 | | - unselectButton.addActionListener(this); |
---|
| 1141 | + //editCommandsPanel.add(unselectButton = new cButton("U", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
| 1142 | + //unselectButton.setToolTipText("Unselect"); |
---|
| 1143 | + //unselectButton.addActionListener(this); |
---|
1144 | 1144 | |
---|
1145 | 1145 | editCommandsPanel.add(flashSelectionButton = GetButton("icons/flash-light.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints); |
---|
1146 | 1146 | flashSelectionButton.setToolTipText("Highlight selection"); |
---|
.. | .. |
---|
5182 | 5182 | { |
---|
5183 | 5183 | editButton.setEnabled(enabled); |
---|
5184 | 5184 | uneditButton.setEnabled(enabled); |
---|
5185 | | - unselectButton.setEnabled(enabled); |
---|
| 5185 | + //unselectButton.setEnabled(enabled); |
---|
5186 | 5186 | flashSelectionButton.setEnabled(enabled); |
---|
5187 | 5187 | |
---|
5188 | 5188 | clearPanelButton.setEnabled(!listUI.isEmpty()); |
---|
.. | .. |
---|
5190 | 5190 | |
---|
5191 | 5191 | void refreshContents(boolean cp) |
---|
5192 | 5192 | { |
---|
5193 | | - if (objectPanel.getSelectedIndex() == 2) // objectPanel.indexOfTab("Info")) |
---|
| 5193 | + //if (objectPanel.getSelectedIndex() == 2) // objectPanel.indexOfTab("Info")) |
---|
5194 | 5194 | if (!Globals.MOUSEDRAGGED && group.selection != null) // && !Globals.TIMERRUNNING) |
---|
5195 | 5195 | { |
---|
5196 | 5196 | objEditor.ClearInfo(); // .GetMaterial()); |
---|