use of artisynth.core.modelbase.RenderableComponentList in project artisynth_core by artisynth.
the class SelectionPopup method isVisible.
private boolean isVisible(RenderableComponent rcomp) {
RenderProps props = rcomp.getRenderProps();
if (props != null) {
return props.isVisible();
}
CompositeComponent parent = rcomp.getParent();
if (parent instanceof RenderableComponentList) {
return ((RenderableComponentList<?>) parent).rendersSubComponents();
}
return false;
}
Aggregations