Skip to content
Snippets Groups Projects
Commit ef32ca1b authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

ENH: Test the visibility on/off

parent 9df74c33
No related branches found
No related tags found
No related merge requests found
......@@ -207,5 +207,4 @@ RenderMaterial::getVisibility() const
{
return m_isVisible;
}
}
......@@ -2515,6 +2515,10 @@ void testVirtualCoupling()
obj->setCollidingGeometry(collidingGeom);
obj->setVisualGeometry(visualGeom);
auto material = std::make_shared<RenderMaterial>();
//material->setVisibilityOff();
visualGeom->setRenderMaterial(material);
// Add virtual coupling object (with visual, colliding, and physics geometry) in the scene.
scene->addSceneObject(obj);
......
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