Skip to content
Snippets Groups Projects
Commit 7ad82861 authored by Ye Han's avatar Ye Han :panda_face: Committed by Andrew Wilson
Browse files

BUG: Fix capsule rendering radius

parent f61d1121
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ VTKCapsuleRenderDelegate::VTKCapsuleRenderDelegate(std::shared_ptr<VisualModel>
{
auto geometry = std::static_pointer_cast<Capsule>(visualModel->getGeometry());
<<<<<<< HEAD
m_capsuleSource = vtkSmartPointer<vtkCapsuleSource>::New();
m_capsuleSource->SetRadius(geometry->getRadius());
m_capsuleSource->SetCylinderLength(geometry->getLength());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment