未验证 提交 2720fbb0 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #12803 from dmarcos/parentPoseObject

Check parent of poseObject instead of camera
......@@ -147,7 +147,7 @@ function WebVRManager( renderer ) {
cameraL.matrixWorldInverse.fromArray( frameData.leftViewMatrix );
cameraR.matrixWorldInverse.fromArray( frameData.rightViewMatrix );
var parent = camera.parent;
var parent = poseObject.parent;
if ( parent !== null ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册