Skip to content

Commit

Permalink
removed duplicate SetAnimation line in lm_eds.cpp and Sat5LMDSC.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TINYBOB1 committed May 24, 2024
1 parent b032f17 commit 0591f44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Orbitersdk/samples/ProjectApollo/src_lm/Sat5LMDSC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ void Sat5LMDSC::DefineAnimations(UINT idx) {
static MGROUP_ROTATE mgt_Ladder(idx, &meshgroup_Ladder, 1, DES_LEG_PIVOT[0], DES_LEG_AXIS[0], (float)(45 * RAD));
AddAnimationComponent(anim_Gear, 0.0, 1, &mgt_Ladder);

SetAnimation(anim_Gear, 0.0);

static MGROUP_ROTATE mgt_Plaque(idx, &meshgroup_Plaque, 1, DES_LEG_PIVOT[0], DES_LEG_AXIS[0], (float)(45 * RAD));
AddAnimationComponent(anim_Gear, 0.0, 1, &mgt_Plaque);

Expand Down
2 changes: 0 additions & 2 deletions Orbitersdk/samples/ProjectApollo/src_lm/lm_eds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,6 @@ void LEM_EDS::DefineAnimations(UINT idx) {
static MGROUP_ROTATE mgt_Ladder(idx, &meshgroup_Ladder, 1, DES_LEG_PIVOT[0], DES_LEG_AXIS[0], (float)(45 * RAD));
lem->AddAnimationComponent(anim_Gear, 0.0, 1, &mgt_Ladder);

lem->SetAnimation(anim_Gear, gear_state.State());

static MGROUP_ROTATE mgt_Plaque(idx, &meshgroup_Plaque, 1, DES_LEG_PIVOT[0], DES_LEG_AXIS[0], (float)(45 * RAD));
lem->AddAnimationComponent(anim_Gear, 0.0, 1, &mgt_Plaque);

Expand Down

0 comments on commit 0591f44

Please sign in to comment.