Skip to content

Commit

Permalink
to sasush
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Jul 5, 2024
1 parent e42441b commit 2e9261b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/Core/Prefab/Planar/PlanarLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ class PlanarLayer extends TiledGeometryLayer {
* @throws {Error} `object3d` must be a valid `THREE.Object3d`.
*/
constructor(id, object3d, config = {}) {
// eslint-disable-next-line prefer-rest-params
console.log(arguments);
if (arguments.length > 3 || object3d.isExtent) {
if (arguments.length > 3 || object3d?.isExtent) {
console.warn("Deprecated: change in arguments, 'extent' should be set in config");
// eslint-disable-next-line prefer-rest-params
const [, ext,, conf = {}] = arguments;
Expand Down
2 changes: 0 additions & 2 deletions src/Core/Prefab/PlanarView.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class PlanarView extends View {
*/
constructor(viewerDiv, options = {}) {
THREE.Object3D.DEFAULT_UP.set(0, 0, 1);
// eslint-disable-next-line prefer-rest-params
console.log(arguments);
if (arguments.length > 2 || options.isExtent) {
console.warn("Deprecated: change in arguments, 'extent' should be set in options");
// eslint-disable-next-line prefer-rest-params
Expand Down

0 comments on commit 2e9261b

Please sign in to comment.