Skip to content

Commit

Permalink
component change
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Nov 15, 2024
1 parent 47eba62 commit 3cc6a6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Sofa/framework/Helper/src/sofa/helper/ComponentChange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,9 @@ const std::map<std::string, ComponentChange, std::less<> > movedComponents = {
{ "SparseLUSolver", Moved("v23.12", "Sofa.Component.LinearSolver.Direct", "CSparseSolvers") },

// Moved to Sofa.Component.MechanicalLoad
{ "Gravity", Moved("v24.12", "SofaGraphComponent", "Sofa.Component.Mechanicalload") }
{ "Gravity", Moved("v24.12", "SofaGraphComponent", "Sofa.Component.Mechanicalload") },

{ "OglCylinderModel", Moved("v24.12", "Sofa.GL.Component.Rendering3D", "Sofa.Component.Visual")}
};

const std::map<std::string, ComponentChange, std::less<> > uncreatableComponents = {
Expand Down Expand Up @@ -759,8 +761,8 @@ const std::map< std::string, Renamed, std::less<> > renamedComponents = {
{"UniformConstraint", Renamed("v24.06","v25.06","UniformLagrangianConstraint")},
{"UnilateralInteractionConstraint", Renamed("v24.06","v25.06","UnilateralLagrangianConstraint")},
{"StiffSpringForceField", Renamed("v24.06","v25.06","SpringForceField")},
{"ParallelStiffSpringForceField", Renamed("v24.06","v25.06","ParallelSpringForceField")}

{"ParallelStiffSpringForceField", Renamed("v24.06","v25.06","ParallelSpringForceField")},
{"OglCylinderModel", Renamed("v24.12", "v25.06", "CylinderVisualModel")}
};


Expand Down
3 changes: 1 addition & 2 deletions examples/Component/Visual/CylinderVisualModel.scn
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0"?>
<Node name="root" dt="0.02">
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglCylinderModel] -->
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle, CylinderVisualModel] -->
<DefaultAnimationLoop/>
<VisualStyle displayFlags="showVisual" />
<CylinderVisualModel position="0 0 0 10 0 0 " edges="0 1" color="yellow" />
Expand Down

0 comments on commit 3cc6a6e

Please sign in to comment.