File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ export class ViewService {
233233 private _currentViewportJSON : string ;
234234
235235 private _subviews : Subview [ ] = [ ] ;
236- private _subviewPose : EntityPose [ ] = [ ] ;
237236 private _subviewFrustum : PerspectiveFrustum [ ] = [ ] ;
238237
239238 public get subviews ( ) {
@@ -284,8 +283,7 @@ export class ViewService {
284283 decomposePerspectiveProjectionMatrix ( serializedSubview . projectionMatrix , subview . frustum ) ;
285284 subview [ 'projectionMatrix' ] = < Matrix4 > subview . frustum . projectionMatrix ;
286285
287- subview . pose = this . _subviewPose [ index ] =
288- this . _subviewPose [ index ] || contextService . createEntityPose ( contextService . getSubviewEntity ( index ) ) ;
286+ subview . pose = contextService . getEntityPose ( contextService . getSubviewEntity ( index ) ) ;
289287 subview . pose . update ( state . time ) ;
290288
291289 index ++ ;
You can’t perform that action at this time.
0 commit comments