Skip to content

Commit

Permalink
FIX compilation in SceneColladaLoader and remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
htalbot authored and guparan committed Oct 18, 2017
1 parent b5650c0 commit 950117f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ struct EulerImplicit_test_2_particles_in_different_nodes_to_equilibrium : publi
mass->d_mass.setValue( 1. );


// FixedConstraint3::SPtr fixed = modeling::addNew<FixedConstraint3>(root,"fixedConstraint");
// fixed->addConstraint(0); // attach first particle

// create a child node with its own DOF
simulation::Node::SPtr child = root->createChild("childNode");
MechanicalObject<Vec3Types>::SPtr childDof = addNew<MechanicalObject<Vec3Types> >(child);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ bool SceneColladaLoader::readDAE (std::ifstream &/*file*/, const char* /*filenam
nameStream << componentIndex++;
currentFixedConstraint->setName(nameStream.str());

currentFixedConstraint->f_fixAll.setValue(true);
currentFixedConstraint->d_fixAll.setValue(true);
}
}

Expand Down

0 comments on commit 950117f

Please sign in to comment.