webglapp: destroyable mouse controls that don't retain a context
that would capture elements of the 3d view like Space etc.
neuronstagingarea: prevent error when closing it if the 3d view is not open.
webglapp: destroyable mouse controls that don't retain a context
that would capture elements of the 3d view like Space etc.
neuronstagingarea: prevent error when closing it if the 3d view is not open.
webglapp.js and neuronstagingarea.js now "use strict";
webglapp.js: dispose of geometries and materials when done with them.

The 3d widget had never done that, surprisingly.

Additionally, now all Skeleton instances reuse the connector materials,
given that their color never changes.
neuronstagingarea.js: fix inability to remove first element of the selection.

Turns out that zero is falsy in javascript.
Merge branch 'master' of github.com:acardona/CATMAID

Conflicts:
	django/applications/catmaid/static/webglapp.js
Fix the connectivity widget minimally to work again while supporting multiple instances.

The prior commit that added support for multiple instances failed:
 (1) to insert the synapse distribution graphs
 (2) to have separate "skeletons" variables for each, defeating the
purpose of the "Refresh" button
 (3) to open new instances with a proper index number, when prior ones
had already been closed
Remove unused import
graph widget: add nodes downstream or upstream of existing nodes.
graph widget: grow graph either by circles (breadth-first) or by paths
between existing nodes.
Merge remote-tracking branch 'origin/master' into neurocity