Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cortex/webgl/resources/js/mriview.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,6 @@ var mriview = (function(module) {
var surf = new surftype(this.active, opts);
surf.addEventListener("mix", this._mix);
surf.addEventListener("allowTilt", this._allowTilt);
// The SVG overlay (ROIs/sulci/labels) re-bakes its texture asynchronously, then
// dispatches "update" on the surface once the new texture is swapped in. Redraw when
// that lands, otherwise a toggle isn't visible until the next interaction.
surf.addEventListener("update", this.schedule.bind(this));

this.surfs.push(surf);
this.root.add(surf.object);
Expand Down