Skip to content

Commit

Permalink
Added support for dropping .glb files
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Oct 26, 2024
1 parent 2e82ff8 commit 0ffd6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion material_maker/main_window.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ func on_files_dropped(files : PackedStringArray) -> void:
match f.get_extension():
"ptex":
do_load_material(f)
"obj":
"obj", "glb":
if ! run_method_at_position(get_global_mouse_position(), "on_drop_model_file", [ f ]):
await new_paint_project(f)
"bmp", "exr", "hdr", "jpg", "jpeg", "png", "svg", "tga", "webp":
Expand Down

0 comments on commit 0ffd6f4

Please sign in to comment.