-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracing overlay: prevent mixing connector types when creating new links
The CATMAID front-end assigns types to connectors based on its links to treenodes (or uses the default connector type), e.g. 'synaptic' or 'desmosome'. When creating new links it was possible so far to add links to a connector that wouldn't fit to its existing links, even causing the (non-persisted) connector type to be overridden. This is fixed now by checking the connector types before adding a new link to a connector that already has links. If they conflict, a warning is shown and now link is added. Thanks to Sanja Jasek for bringing this up.
- Loading branch information
Showing
1 changed file
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters