Commit 26e99570 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[geometry] fix addGeometryObject

parent 03157399
......@@ -86,9 +86,9 @@ namespace pinocchio
const bool autofillJointParent)
{
if(autofillJointParent)
addGeometryObject(object,model);
return addGeometryObject(object,model);
else
addGeometryObject(object);
return addGeometryObject(object);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment