diff --git a/src/OpenSimCreator/CMakeLists.txt b/src/OpenSimCreator/CMakeLists.txt index aa0008c6a..d73e68ec8 100644 --- a/src/OpenSimCreator/CMakeLists.txt +++ b/src/OpenSimCreator/CMakeLists.txt @@ -57,6 +57,7 @@ add_library(OpenSimCreator STATIC ModelGraph/BodyEl.cpp ModelGraph/BodyEl.hpp + ModelGraph/CommittableModelGraph.hpp ModelGraph/CrossrefDescriptor.hpp ModelGraph/CrossrefDirection.hpp ModelGraph/EdgeEl.cpp diff --git a/src/OpenSimCreator/ModelGraph/CommittableModelGraph.hpp b/src/OpenSimCreator/ModelGraph/CommittableModelGraph.hpp new file mode 100644 index 000000000..fe86e7505 --- /dev/null +++ b/src/OpenSimCreator/ModelGraph/CommittableModelGraph.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include + +#include + +namespace osc +{ + using CommittableModelGraph = UndoRedoT; +} diff --git a/src/OpenSimCreator/UI/Tabs/MeshImporterTab.cpp b/src/OpenSimCreator/UI/Tabs/MeshImporterTab.cpp index 58161e45a..e020c5b60 100644 --- a/src/OpenSimCreator/UI/Tabs/MeshImporterTab.cpp +++ b/src/OpenSimCreator/UI/Tabs/MeshImporterTab.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -208,9 +209,6 @@ using osc::EdgeEl; // correct time namespace osc { - // model graphs can be stored in a generic UndoRedo container - using CommittableModelGraph = osc::UndoRedoT; - bool PointAxisTowards( CommittableModelGraph& cmg, UID id,