Repository navigation
Conversation
jsantell
commented
Nov 16, 2018
| ], | ||
| }; | ||
|
|
||
| const onwarn = (warning, warn) => { |
Contributor
Author
There was a problem hiding this comment.
cdata
approved these changes
Nov 16, 2018
| "dependencies": { | ||
| "@polymer/lit-element": "^0.6.2", | ||
| "three": "^0.94.0" | ||
| "three": "^0.98.0" |
| 'lib/third_party/three/GLTFLoader.js': [ | ||
| 'DDSLoader', | ||
| 'BufferGeometryUtils', | ||
| 'DRACOLoader', |
Contributor
There was a problem hiding this comment.
Will we eventually include this for draco support?
Contributor
Author
There was a problem hiding this comment.
Yeah, if we want to bundle it, but imagine we'd need a different solution. This expects THREE.DRACOLoader so to avoid changing the source code that will get clobbered on the next three.js update, the warnings are muted. For DRACO specifically, I think we can set that in CachedGLTFLoader, rather than modifying GLTFLoader outside of the ES Module changes
| this.model = new Model(); | ||
| this.shadow = new StaticShadow(); | ||
| this.light = new AmbientLight(0xffffff, 1); | ||
| this.light.name = 'AmbientLight'; |
Contributor
There was a problem hiding this comment.
Was name removed from objects at some point?
Contributor
Author
There was a problem hiding this comment.
@cdata name is default an empty string, so this helps some debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates three.js to r98.
lookAtchange in r96 Object3D.lookAt(): support rotated parents mrdoob/three.js#14517Reference Issue
Fixes #147