projectionMode.addActionListener(projectionModeListener);
}
protected void updateSkyMode() {
skyModeCB.removeActionListener(skyModeListener);
SkyMode mode = renderMan.scene().sky().getSkyMode();
skyModeCB.setSelectedItem(mode);
simulatedSkyPanel.setVisible(mode == SkyMode.SIMULATED);
skymapPanel.setVisible(mode == SkyMode.SKYMAP_PANORAMIC);
lightProbePanel.setVisible(mode == SkyMode.SKYMAP_SPHERICAL);
skyGradientPanel.setVisible(mode == SkyMode.GRADIENT);