Skip to content

Commit

Permalink
Introduce Exporter category
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored and fredroy committed Feb 28, 2025
1 parent 19323b4 commit cf3f005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sofa/framework/Core/src/sofa/core/CategoryLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ std::vector<std::string> CategoryLibrary::getCategories()
"ContextObject",
"Controller",
"Engine",
"Exporter",
"ForceField",
"InteractionForceField",
"LinearSolver",
Expand Down Expand Up @@ -188,6 +189,8 @@ void CategoryLibrary::getCategories(const objectmodel::BaseClass* mclass,
v.push_back("Mapping");
if (mclass->hasParent(DataEngine::GetClass()))
v.push_back("Engine");
if (mclass->hasParent("BaseSimulationExporter"))
v.push_back("Exporter");
if (mclass->hasParent(topology::TopologicalMapping::GetClass()))
v.push_back("TopologicalMapping");
if (mclass->hasParent(behavior::BaseMass::GetClass()))
Expand Down
2 changes: 1 addition & 1 deletion Sofa/framework/Core/src/sofa/core/CategoryLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SOFA_CORE_API CategoryLibrary
* CollisionAlgorithm, CollisionAlgorithm, CollisionAlgorithm,
* CollisionModel, ConfigurationSetting, ConstraintSet,
* ConstraintSolver, ConstraintSolver, ContextObject, Controller,
* Engine, ForceField, InteractionForceField, LinearSolver, LinearSystem,
* Engine, Exporter, ForceField, InteractionForceField, LinearSolver, LinearSystem,
* Loader, Mapping, Mass, MechanicalState, OdeSolver, OrderingMethod,
* ProjectiveConstraintSet, TopologicalMapping, Topology,
* TopologyObject, and VisualModel
Expand Down

0 comments on commit cf3f005

Please sign in to comment.