Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused protected parameters ndim, ndim2 and ndim_pointGravity #4266

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Modelica/Mechanics/MultiBody/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ model World
objects cannot be used.
*/
protected
parameter Integer ndim=if enableAnimation and animateWorld then 1 else 0;
parameter Integer ndim2=if enableAnimation and animateWorld and
axisShowLabels then 1 else 0;

// Parameters to define axes
parameter SI.Length headLength=min(axisLength, axisDiameter*Types.Defaults.
FrameHeadLengthFraction);
Expand Down Expand Up @@ -301,8 +297,6 @@ protected
specularCoefficient=0) if enableAnimation and animateGravity and gravityType == GravityTypes.UniformGravity;

// Point gravity visualization
parameter Integer ndim_pointGravity=if enableAnimation and animateGravity
and gravityType == GravityTypes.UniformGravity then 1 else 0;
Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape gravitySphere(
shapeType="sphere",
r_shape={-gravitySphereDiameter/2,0,0},
Expand Down