bugfix for selectType in options

This commit is contained in:
Titus Tscharntke
2013-01-24 22:52:34 +00:00
parent a15bdecbf3
commit 8399ed2c6a

View File

@@ -1774,18 +1774,18 @@ void MenuStateOptions::saveConfig(){
int selectionTypeindex= listBoxSelectionType.getSelectedItemIndex();
if(selectionTypeindex==0){
config.setBool("EnableColorPicking", false);
config.setBool("EnableSelectBufPicking", false);
config.setBool("EnableSelectBufPicking", true);
config.setBool("EnableColorPicking", false);
config.setBool("EnableFrustumPicking", false);
}
else if (selectionTypeindex==1){
config.setBool("EnableColorPicking", true);
config.setBool("EnableSelectBufPicking", false);
config.setBool("EnableFrustumPicking", true);
config.setBool("EnableColorPicking", true);
config.setBool("EnableFrustumPicking", false);
}
else if (selectionTypeindex==2){
config.setBool("EnableSelectBufPicking", false);
config.setBool("EnableColorPicking", false);
config.setBool("EnableSelectBufPicking", true);
config.setBool("EnableFrustumPicking", true);
}