瀏覽代碼

Fix b3dm loader load

Garrett Johnson 4 年之前
父節點
當前提交
48d2ead30c
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      CHANGELOG.md
  2. 1 1
      src/base/B3DMLoaderBase.js

+ 1 - 0
CHANGELOG.md

@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 
 ### Fixed
 - Feature table attributes like `RTC_CENTER` not being correctly applied to loaded tile geometry.
+- `B3DMLoader.load` not correctly resolving with a model.
 
 ### Changed
 - String decoding to use `TextDecoder`.

+ 1 - 1
src/base/B3DMLoaderBase.js

@@ -35,7 +35,7 @@ export class B3DMLoaderBase {
 
 				}
 
-				this.parse( buffer );
+				return this.parse( buffer );
 
 			} );