@@ -340,7 +340,7 @@ private void connectToEditingPath(final Path source, final Path destination) {
340340 final Tree newTree = destinationGraph .getTreeWithSamePathStructure ();
341341// enableEditMode(false);
342342 tracerPlugin .setEditingPath (null );
343- final Calibration cal = tracerPlugin .getImagePlus (). getCalibration (); // snt the instance of the plugin
343+ final Calibration cal = tracerPlugin .getCalibration (); // snt the instance of the plugin
344344 newTree .list ().forEach (p -> p .setSpacing (cal ));
345345 final boolean existingEnableUiUpdates = pathAndFillManager .enableUIupdates ;
346346 pathAndFillManager .enableUIupdates = false ;
@@ -1374,7 +1374,7 @@ protected void assignTreeRootToEditingNode(final boolean warnOnFailure) {
13741374 editingGraph .setRoot (newRoot );
13751375 final Tree newTree = editingGraph .getTreeWithSamePathStructure ();
13761376 tracerPlugin .setEditingPath (null );
1377- final Calibration cal = tracerPlugin .getImagePlus (). getCalibration ();
1377+ final Calibration cal = tracerPlugin .getCalibration ();
13781378 pathAndFillManager .deletePaths (editingTree .list ());
13791379 newTree .list ().forEach (p -> {
13801380 p .setSpacing (cal );
@@ -1413,7 +1413,7 @@ protected void splitTreeAtEditingNode(final boolean warnOnFailure) {
14131413 final Tree descendentTree = descendantGraph .getTreeWithSamePathStructure ();
14141414// enableEditMode(false);
14151415 tracerPlugin .setEditingPath (null );
1416- final Calibration cal = tracerPlugin .getImagePlus (). getCalibration (); // snt the instance of the plugin
1416+ final Calibration cal = tracerPlugin .getCalibration (); // snt the instance of the plugin
14171417 ancestorTree .list ().forEach (p -> p .setSpacing (cal ));
14181418 descendentTree .list ().forEach (p -> p .setSpacing (cal ));
14191419 final boolean existingEnableUiUpdates = pathAndFillManager .enableUIupdates ;
0 commit comments