diff --git a/Sofa/framework/Core/src/sofa/core/CategoryLibrary.cpp b/Sofa/framework/Core/src/sofa/core/CategoryLibrary.cpp index 7fbdc0c79ec..63ca8745277 100644 --- a/Sofa/framework/Core/src/sofa/core/CategoryLibrary.cpp +++ b/Sofa/framework/Core/src/sofa/core/CategoryLibrary.cpp @@ -143,6 +143,7 @@ std::vector CategoryLibrary::getCategories() "ContextObject", "Controller", "Engine", + "Exporter", "ForceField", "InteractionForceField", "LinearSolver", @@ -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())) diff --git a/Sofa/framework/Core/src/sofa/core/CategoryLibrary.h b/Sofa/framework/Core/src/sofa/core/CategoryLibrary.h index d6e3941adad..6ae3c72db49 100644 --- a/Sofa/framework/Core/src/sofa/core/CategoryLibrary.h +++ b/Sofa/framework/Core/src/sofa/core/CategoryLibrary.h @@ -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