Skip to content

Make it possible to set debug=false #16

@danvk

Description

@danvk

On line 59, you call scope.parse with a single argument:

      loader.load(url, function (text) {

        onLoad(scope.parse(text));

      }, onProgress, onError);

but then later:

    function (text, debug) {
      if (typeof(debug) === 'undefined') {
        debug = true;
      }

So debug is always true. I'd prefer not to see line noise in my console. Can we either remove this (it doesn't exist in the upstream three.js repo) or optionalize it? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions