Skip to content

Remove obsolete OnInteractorStyleEvent#7320

Merged
jcfr merged 2 commits intoSlicer:mainfrom
jcfr:InteractorStyleEvent-cleanup
Oct 30, 2023
Merged

Remove obsolete OnInteractorStyleEvent#7320
jcfr merged 2 commits intoSlicer:mainfrom
jcfr:InteractorStyleEvent-cleanup

Conversation

@jcfr
Copy link
Member

@jcfr jcfr commented Oct 30, 2023

Following changes introduced in abff04f (ENH: Reimplement volume rendering displayable manager), the event handling mechanisms was restructured. As a result, the invocation of "UpdatePipelineTransforms()" within the "OnInteractorStyleEvent" function became obsolete.

Furthermore, note that the call to the "OnInteractorStyleEvent" function stopped working following the alterations made in a0ad2a3 (ENH: Handle 3D events in MRML interactor style and markups VTK widgets). This change removed the installation of the interactor style observer from "SetAndObserveInteractorStyle()".

Also removes empty vtkMRMLMarkupsDisplayableManager::OnInteractorStyleEvent() function.

jcfr added 2 commits October 30, 2023 13:21
Following changes introduced in abff04f (ENH: Reimplement volume
rendering displayable manager), the event handling mechanisms was restructured.
As a result, the invocation of "UpdatePipelineTransforms()" within the
"OnInteractorStyleEvent" function became obsolete.

Furthermore, note that the call to the "OnInteractorStyleEvent" function stopped
working following the alterations made in a0ad2a3 (ENH: Handle 3D events in
MRML interactor style and markups VTK widgets). This change removed the installation
of the interactor style observer from "SetAndObserveInteractorStyle()".
Copy link
Contributor

@lassoan lassoan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jcfr jcfr enabled auto-merge (rebase) October 30, 2023 19:15
@jcfr jcfr merged commit 5f34c2c into Slicer:main Oct 30, 2023
@jcfr jcfr deleted the InteractorStyleEvent-cleanup branch October 30, 2023 19:57
@jcfr jcfr added the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Nov 5, 2023
@jcfr jcfr removed the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants