| 129 | |
| 130 | |
| 131 | bool EffectDistortion::Editor::ValidateUI() |
| 132 | { |
| 133 | { |
| 134 | // This section was copied from the original |
| 135 | // DistortionBase::TransferDataFromWindow |
| 136 | // |
| 137 | // However, the call to ->Validate would bring up an error dialog |
| 138 | // saying "Empty value" |
| 139 | |
| 140 | if ( /*!mUIParent()->Validate() ||*/ !mUIParent->TransferDataFromWindow()) |
| 141 | { |
| 142 | return false; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | |
| 147 | mAccess.ModifySettings |
| 148 | ( |
| 149 | [this](EffectSettings& settings) |
| 150 | { |
| 151 | // pass back the modified settings to the MessageBuffer |
| 152 | |
| 153 | GetSettings(settings) = mSettings; |
| 154 | |
| 155 | return nullptr; |
| 156 | } |
| 157 | ); |
| 158 | |
| 159 | return true; |
| 160 | } |
| 161 | |
| 162 | EffectDistortionState& EffectDistortion::Editor::GetState() |
| 163 | { |
nothing calls this directly
no test coverage detected