Skip to content

Commit

Permalink
Merge pull request #39 from tbeu/fix-animate-in-prismatic
Browse files Browse the repository at this point in the history
Rename animation to animate
  • Loading branch information
Franciscus van der Linden committed Aug 22, 2014
2 parents b662231 + c4b2f55 commit 5d98b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PlanarMechanics/Joints/Prismatic.mo
Expand Up @@ -42,10 +42,10 @@ model Prismatic "A prismatic joint"
enable=animate));
parameter SI.Distance boxWidth=l/planarWorld.defaultWidthFraction
"Width of prismatic joint box"
annotation (Dialog(tab="Animation", group="if animation = true", enable=animation));
annotation (Dialog(tab="Animation", group="if animation = true", enable=animate));
input Types.Color boxColor=Types.Defaults.JointColor
"Color of prismatic joint box"
annotation (Dialog(tab="Animation", group="if animation = true", enable=animation));
annotation (Dialog(tab="Animation", group="if animation = true", enable=animate));
input Modelica.Mechanics.MultiBody.Types.SpecularCoefficient
specularCoefficient = planarWorld.defaultSpecularCoefficient
"Reflection of ambient light (= 0: light is completely absorbed)"
Expand Down

0 comments on commit 5d98b2f

Please sign in to comment.