diff --git a/include/osgUtil/TangentSpaceGenerator b/include/osgUtil/TangentSpaceGenerator index 05936daea..017dfb28a 100644 --- a/include/osgUtil/TangentSpaceGenerator +++ b/include/osgUtil/TangentSpaceGenerator @@ -121,7 +121,11 @@ protected: virtual ~VectorsComputerUsingIndices() {} }; -private: + // declare as friends so that may operator on TangentSpaceGenerator protected member variables. + friend class BasisVectorsComputer; + friend class VectorsComputerNoIndices; + friend class VectorsComputerUsingIndices; + osg::ref_ptr T_; osg::ref_ptr B_; osg::ref_ptr N_;