text: [{"Owner":"focomoso","Date":"2017-07-14T23:16:24Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tI_t_m looking for a way to run the assetsManager (with all of its nifty file type checking) on a file chosen by the user via the file picker (or drag and drop). Is there a simple way to do this? The assetsManager seems only to take a url and filename. Is there a way to send it a file blob?\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIf not_co_ does anyone have any ideas on a relatively simple way to do this?\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThanks\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"focomoso","Date":"2017-07-16T19:39:38Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tI_t_m able to load files using the specific plugin for the extension with_dd_\n_lt_/p_gt_\n\n_lt_pre_gt_\n_lt_code_gt_      BABYLON.SceneLoader.GetPluginForExtension(_t_.stl_t_).load(this.scene_co_e.target.result_co__qt_root_qt_)_sm_\n_lt_/code_gt__lt_/pre_gt_\n\n_lt_p_gt_\n\te.target.result is the file that comes from the file picker. This works fine_co_ but...\n_lt_/p_gt_\n\n_lt_ul_gt__lt_li_gt_\n\t\tI have to do the file checking by hand (not ideal)\n\t_lt_/li_gt_\n\t_lt_li_gt_\n\t\tI don_t_t get a ref to the mesh like I do when I use the assetsManager which makes it hard to manipulate it after upload_lt_br /_gt_\n\t\t \n\t_lt_/li_gt_\n_lt_/ul_gt__lt_p_gt_\n\tAny thoughts?\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2017-07-17T15:20:46Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHey\n_lt_/p_gt_\n\n_lt_p_gt_\n\tAs you mentioned_co_ the AssetsManager is not designed to work with drag_t_n_t_drop unfortunately.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tRegarding your second point_co_ the load function is synchronous so you can just check scene.meshes after calling load.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"focomoso","Date":"2017-07-17T19:23:45Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tThanks _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/?do_eq_hovercard_qt_ data-mentionid_eq__qt_4442_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/_qt_ rel_eq__qt__qt__gt_@Deltakosh_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIs there any guarantee that the most recently added mesh will be the last in the scene.meshes list (or something similar). If not_co_ I_t_m going to have to save a copy of the meshes beforehand and look for the new name. \n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2017-07-18T00:00:40Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t_lt_p_gt_\n\tYes this is the case\n_lt_/p_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]