File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -376,37 +376,6 @@ useExtensionService().registerExtension({
376376 }
377377 }
378378 } )
379-
380- useLoad3d ( node ) . waitForLoad3d ( ( load3d ) => {
381- const onExecuted = node . onExecuted
382-
383- node . onExecuted = function ( message : any ) {
384- onExecuted ?. apply ( this , arguments as any )
385-
386- const cameraInfo = message . camera_info ?. [ 0 ]
387-
388- const bgImagePath = message . bg_image_path ?. [ 0 ]
389-
390- if ( cameraInfo ) {
391- const config = new Load3DConfiguration ( load3d )
392- const modelWidget = node . widgets ?. find ( ( w ) => w . name === 'model_file' )
393- if ( modelWidget ) {
394- const settings = {
395- loadFolder : 'input' ,
396- modelWidget : modelWidget ,
397- cameraState : cameraInfo ,
398- bgImagePath : bgImagePath
399- }
400-
401- config . configure ( settings )
402- }
403- }
404-
405- if ( bgImagePath ) {
406- load3d . setBackgroundImage ( bgImagePath )
407- }
408- }
409- } )
410379 }
411380} )
412381
You can’t perform that action at this time.
0 commit comments