def preview(self, settingName, value):
     if settingName == 'smoothing':
         rppSetting = graphics.GRAPHICS_SETTINGS.RENDER_PIPELINE
         renderOptions = graphics.getGraphicsSetting(rppSetting)
         isAdvancedRender = renderOptions.value == _DEFERRED_RENDER_IDX
         if isAdvancedRender:
             g_settingsCore.previewSetting(settings_constants.GRAPHICS.CUSTOM_AA, value)
         else:
             g_settingsCore.previewSetting(settings_constants.GRAPHICS.MULTISAMPLING, value)
         return
     g_settingsCore.previewSetting(settingName, value)
Exemple #2
0
 def preview(self, settingName, value):
     if settingName == 'smoothing':
         rppSetting = graphics.GRAPHICS_SETTINGS.RENDER_PIPELINE
         renderOptions = graphics.getGraphicsSetting(rppSetting)
         isAdvancedRender = renderOptions.value == _DEFERRED_RENDER_IDX
         if isAdvancedRender:
             g_settingsCore.previewSetting(
                 settings_constants.GRAPHICS.CUSTOM_AA, value)
         else:
             g_settingsCore.previewSetting(
                 settings_constants.GRAPHICS.MULTISAMPLING, value)
         return
     g_settingsCore.previewSetting(settingName, value)
 def preview(self, settingName, value):
     """
     Preview settings with given value. Preview setting can be reverted to the original
     value by settingObj.revert() call.
     
     :param settingName: setting name to preview
     :param value: setting value to preview
     """
     if settingName == 'smoothing':
         rppSetting = graphics.GRAPHICS_SETTINGS.RENDER_PIPELINE
         renderOptions = graphics.getGraphicsSetting(rppSetting)
         isAdvancedRender = renderOptions.value == _DEFERRED_RENDER_IDX
         if isAdvancedRender:
             g_settingsCore.previewSetting(settings_constants.GRAPHICS.CUSTOM_AA, value)
         else:
             g_settingsCore.previewSetting(settings_constants.GRAPHICS.MULTISAMPLING, value)
         return
     g_settingsCore.previewSetting(settingName, value)
Exemple #4
0
 def preview(self, settingName, value):
     """
     Preview settings with given value. Preview setting can be reverted to the original
     value by settingObj.revert() call.
     
     :param settingName: setting name to preview
     :param value: setting value to preview
     """
     if settingName == 'smoothing':
         rppSetting = graphics.GRAPHICS_SETTINGS.RENDER_PIPELINE
         renderOptions = graphics.getGraphicsSetting(rppSetting)
         isAdvancedRender = renderOptions.value == _DEFERRED_RENDER_IDX
         if isAdvancedRender:
             g_settingsCore.previewSetting(
                 settings_constants.GRAPHICS.CUSTOM_AA, value)
         else:
             g_settingsCore.previewSetting(
                 settings_constants.GRAPHICS.MULTISAMPLING, value)
         return
     g_settingsCore.previewSetting(settingName, value)
Exemple #5
0
 def preview(self, settingName, value):
     g_settingsCore.previewSetting(settingName, value)