#!/bin/sh

# https://github.com/AcademySoftwareFoundation/MaterialX/tree/main/source/MaterialXGraphEditor/External

git clone https://github.com/ocornut/imgui source/MaterialXGraphEditor/External/ImGui
rm -rf source/MaterialXGraphEditor/External/ImGui/.*

git clone https://github.com/thedmd/imgui-node-editor source/MaterialXGraphEditor/External/ImGuiNodeEditor
rm -rf source/MaterialXGraphEditor/External/ImGuiNodeEditor/.*

git clone https://github.com/mitsuba-renderer/nanogui source/MaterialXView/NanoGUI
rm -rf source/MaterialXView/NanoGUI/.*

git clone https://github.com/wjakob/glfw source/MaterialXView/NanoGUI/ext/glfw
rm -rf source/MaterialXView/NanoGUI/ext/glfw/.*

git clone https://github.com/btzy/nativefiledialog-extended source/MaterialXView/NanoGUI/ext/nativefiledialog-extended
rm -rf source/MaterialXView/NanoGUI/ext/nativefiledialog-extended/.*
