Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: Propagate attribute change via valueChanged signal #2657

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yann-lty
Copy link
Member

Description

Improve propagation of attribute value change signals to get proper UI update.

Before

attribute_update_downstream

After

attribute_update_downstream_new

Alternative node debug display to better visualize what problem is being solved:

attribute_update_downstream_before_after

Features list

Implementation remarks

Propagate attribute value changes downstream using valueChanged signal emission, instead of calling _onAttributeChanged directly.
This does not change the current core behavior, but it triggers the property notification signal when in UI mode.
This makes changes happening upstream properly reflected in downstream nodes.

Propagate attribute value changes downstream using `valueChanged` signal
emission, instead of calling `_onAttributeChanged` directly.
This does not change the current core behavior, but it triggers the
property notification signal when in UI mode.
This makes changes happening upstream properly reflected in downstream nodes.
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.93%. Comparing base (1f42ad3) to head (1aea45e).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2657   +/-   ##
========================================
  Coverage    69.93%   69.93%           
========================================
  Files          121      121           
  Lines         7088     7088           
========================================
  Hits          4957     4957           
  Misses        2131     2131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant