File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -372,16 +372,6 @@ createNameSpace('realityEditor.device.desktopAdapter');
372372
373373 var msgData = JSON . parse ( data ) ;
374374 if ( msgData . objectKey === objectKey && msgData . propertyPath === 'matrix' ) {
375-
376- // emit an event if this is a newly "discovered" matrix
377- if ( ( ! object . matrix || object . matrix . length !== 16 ) && msgData . newValue . length === 16 ) {
378- // TODO callbackHandler is probably a figment of this code's imagination
379- if ( typeof callbackHandler !== 'undefined' ) {
380- // eslint-disable-next-line
381- callbackHandler . triggerCallbacks ( 'objectMatrixDiscovered' , { objectKey : msgData . objectKey } ) ;
382- }
383- }
384-
385375 // TODO: set sceneGraph localMatrix to msgData.newValue?
386376 // var rotatedObjectMatrix = realityEditor.gui.ar.utilities.copyMatrix(msgData.newValue);
387377 // object.matrix = rotatedObjectMatrix;
You can’t perform that action at this time.
0 commit comments