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

[ui] ImageGallery: Allow image drop if the active group is not computing #1941

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

cbentejac
Copy link
Contributor

@cbentejac cbentejac commented Mar 20, 2023

Description

This PR fixes the behaviour of the Image Gallery, which used to switch to read-only as soon as a node in the entire graph was being computed. This meant that no image could be dropped in the gallery if there was any ongoing computation, even if the nodes that were computed did not include or involve the active CameraInit node.

The computation status of the active CameraInit node is now taken into account when determining whether the Image Gallery should be read-only or not.

Features list

  • Switch the Image Gallery to read-only if and only if the active CameraInit node is locked because of computations.

The Image Gallery should only switch to read-only if the currently active
group is being computed. The behaviour prior to this commit was to lock it
as soon as any node in the entire graph was being computed, even if it did
not involve the active CameraInit node.
@fabiencastan fabiencastan merged commit 10d2073 into develop Mar 21, 2023
@fabiencastan fabiencastan deleted the fix/blockedDragDrop branch March 21, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants