Repository navigation
Fix crash in Pluck - #10915
Fix crash in Pluck#10915
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between b12da20c9dec50a6feaaf8c28b862aec84fe2735 and 52327ee. 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR updates EffectParametersListModel::setParameterValue to convert the parameterId once, check the parameter index, and use muse::RealIsEqual to early-return when the new fullRangeValue equals the cached value; otherwise it forwards the update to the parameters provider. Separately, two QML dialogs change FilePicker usage from the sequenceDiagram
participant Caller
participant EffectParametersListModel
participant ParametersProvider
Caller->>EffectParametersListModel: setParameterValue(parameterId, fullRangeValue)
EffectParametersListModel->>EffectParametersListModel: convert parameterId to muse::String
EffectParametersListModel->>EffectParametersListModel: lookup index and compare with muse::RealIsEqual
alt equal
EffectParametersListModel->>Caller: return early (no provider call)
else not equal
EffectParametersListModel->>ParametersProvider: setParameterValue(cachedId, fullRangeValue)
ParametersProvider-->>EffectParametersListModel: parameterChanged(...)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
thanks |
99e44cd to
b12da20
Compare
Breaks infinite recursion during parameter updates
b12da20 to
52327ee
Compare
Resolves: #10819
Breaks infinite recursion during parameter updates
Recommended:
QA: