(SAxis): Fix the SAxis node visibility
Summary
When multiple adaptors are attached to the same transform than a SAxis
, the visibility of the SAxis
manage all others adaptors.
Steps to reproduce
<service uid="transformAdaptor" type="::visuOgreAdaptor::STransform" autoConnect="yes">
<inout key="transform" uid="fwDataTransformationMatrix3D" />
<config layer="default" transform="ogreTransform" />
</service>
<service uid="axis" type="::visuOgreAdaptor::SAxis">
<config layer="default" transform="ogreTransform"/>
</service>
<service uid="mes" type="::visuOgreAdaptor::SMesh" autoConnect="yes">
<inout key="mesh" uid="fwDataMesh" />
<config layer="default" transform="ogreTransform" />
</service>
What is the current bug behavior?
the visibility of the SAxis
will change the visibility of SMesh
.
What is the expected correct behavior?
the visibility of the SAxis
should not change the visibility of SMesh
.
Possible fixes
SAxis
visibility is defined by changing the visibility of its node, which can be used by other adapters. The visibility must be set with another method.