MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onRSEnabledCheckBoxChecked

Method onRSEnabledCheckBoxChecked

Gui/PreferencesPanel.cpp:874–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872}
873
874void
875PreferencesPanel::onRSEnabledCheckBoxChecked(bool checked)
876{
877 AnimatedCheckBox* cb = qobject_cast<AnimatedCheckBox*>( sender() );
878
879 if (!cb) {
880 return;
881 }
882 for (PluginTreeNodeList::iterator it = _imp->pluginsList.begin(); it != _imp->pluginsList.end(); ++it) {
883 if (it->rsCheckbox == cb) {
884 it->plugin->setRenderScaleEnabled(checked);
885 _imp->pluginSettingsChanged = true;
886 break;
887 }
888 }
889}
890
891void
892PreferencesPanel::onMTEnabledCheckBoxChecked(bool checked)

Callers

nothing calls this directly

Calls 3

setRenderScaleEnabledMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected