We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a93e8 commit cfe3213Copy full SHA for cfe3213
1 file changed
src/parsers/graph/model-graph-algo.cpp
@@ -235,12 +235,8 @@ namespace pinocchio
235
ReturnType operator()(const JointSpline & joint) const
236
{
237
JointModelSpline jmodel(joint.degree);
238
-
239
- for (size_t i = 0; i < joint.ctrlFrames.size(); i++)
240
- {
241
- jmodel.addControlFrame(joint.ctrlFrames[i]);
242
- }
243
- jmodel.buildJoint();
+ jmodel.setControlFrames(joint.ctrlFrames);
+
244
return jmodel;
245
}
246
ReturnType operator()(const JointComposite & joint) const
0 commit comments