Skip to content

Commit

Permalink
Remove the apply to all button #106
Browse files Browse the repository at this point in the history
-Commented relative code
  • Loading branch information
GMDIT committed Sep 6, 2016
1 parent 4c267c2 commit f1bd191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/mlj/core/plugin/Filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ MLJ.core.plugin.Filter = function (parameters) {
MLJ.gui.disabledOnSceneEmpty(apply);
}

/*//Add the button "Apply to all visible layers"
if (parameters.arity === 1) {
var applyAll = new MLJ.gui.component.Button({
tooltip: "Apply to all visible layers",
Expand All @@ -183,6 +184,7 @@ MLJ.core.plugin.Filter = function (parameters) {
MLJ.widget.Log.append(name + " execution time " + Math.round(t1 - t0) + " ms");
});
}
*/

_this._init(filterBuilder);
};
Expand Down
3 changes: 2 additions & 1 deletion test/jQueryGUI/v4/js/mlj/core/Plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ MLJ.core.plugin.Filter = function (name, singleArity) {
_this._applyTo(meshFile);
});

/*//Add the button "Apply to all visible layers"
if (_this.singleArity === false) {
var applyAll = MLJ.gui.build.button.Button("", "Apply to all visible layers",
"../icons/IcoMoon-Free-master/PNG/48px/0289-forward3.png");
Expand All @@ -56,7 +57,7 @@ MLJ.core.plugin.Filter = function (name, singleArity) {
}
});
}

*/
_this._init(entry);
};
};
Expand Down

0 comments on commit f1bd191

Please sign in to comment.