Skip to content

Commit cbffa96

Browse files
authored
Merge pull request #1510 from SCIInstitute/viewscenmenu
remove unused menu items from viewscene config menu
2 parents bd806ca + cb8d347 commit cbffa96

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/Interface/Modules/Render/ViewSceneControlsDock.cc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,14 @@ ViewSceneControlsDock::ViewSceneControlsDock(const QString& name, ViewSceneDialo
135135
WidgetStyleMixin::tabStyle(tabWidget);
136136

137137
setupLightControlCircle(headlightFrame_, 0, parent->pulling_, false);
138+
setupLightControlCircle(light1Frame_, 1, parent->pulling_, false);
139+
setupLightControlCircle(light2Frame_, 2, parent->pulling_, false);
140+
setupLightControlCircle(light3Frame_, 3, parent->pulling_, false);
141+
/*Temporarily set three light to no movement until movement works (after IBBM 2016)
138142
setupLightControlCircle(light1Frame_, 1, parent->pulling_, true);
139143
setupLightControlCircle(light2Frame_, 2, parent->pulling_, true);
140144
setupLightControlCircle(light3Frame_, 3, parent->pulling_, true);
145+
*/
141146

142147
for (auto &light : lightControls_)
143148
{
@@ -154,17 +159,26 @@ ViewSceneControlsDock::ViewSceneControlsDock(const QString& name, ViewSceneDialo
154159

155160
///Render Tab
156161
shadeSettingsGroupBox_->setEnabled(false);
162+
shadeSettingsGroupBox_->setVisible(false);
157163
globalSettingsGroupBox_->setEnabled(false);
164+
globalSettingsGroupBox_->setVisible(false);
158165
renderSliderFrame_->setEnabled(false);
166+
renderSliderFrame_->setVisible(false);
167+
168+
///Lights Tab
169+
label_11->setVisible(false);
159170

160171
///Materials Tab
161172
//materialsFrame_->setEnabled(false);
162173
//fogGroupBox_->setEnabled(false);
163174

164175
////View Tab
165176
autoRotateGroupBox_->setEnabled(false);
166-
viewOptionsGroupBox_->setEnabled(false);
167-
//showScaleBarTextGroupBox_->setEnabled(false);
177+
autoRotateGroupBox_->setVisible(false);
178+
//viewOptionsGroupBox_->setEnabled(false);
179+
autoViewOnLoadCheckBox_->setVisible(false);
180+
orthoViewCheckBox_->setVisible(false);
181+
showAxisCheckBox_->setVisible(false);
168182

169183
////Controls Tab
170184
transparencyGroupBox_->setVisible(false);

0 commit comments

Comments
 (0)