HomePhabricator
Diffusion MITK 327fda395735

Preserve view position / do not reset camera / crosshair on new segmentation…

Description

Preserve view position / do not reset camera / crosshair on new segmentation creation.

Summary:
Remove unnecessary include

Use early return to make the function more readable

Minimize the scope of the try-catch block

Store and reset the crosshair position after view initialization

Test Plan: manual

Reviewers: kislinsk, floca, O1 MITK Reviewer Group I

Reviewed By: floca, O1 MITK Reviewer Group I

Subscribers: kleina

Tags: Breaking Change

Maniphest Tasks: T28490

Differential Revision: https://phabricator.mitk.org/D523

Details

Provenance
kalaliAuthored on Aug 9 2021, 4:00 PM
kalaliPushed on Aug 12 2021, 3:34 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK749614ce69af: Preserve view position in multi label plugin view
rMITK8186562db1a4: Fixed T28492 PACS interaction getting stuck from modifier keys
Branches
Unknown
Tags
Unknown
Tasks
T28490: Segmentation plugin: "new" segmentation should not run reinit!