]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/Technique.cxx
Compile even if OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is not set.
[simgear.git] / simgear / scene / material / Technique.cxx
index b8093f353088017104fb5fc1738d9a2897dd2131..aeab9cf365b9b3057c70701b82e6d9165fd02397 100644 (file)
@@ -59,7 +59,7 @@ Technique::Technique(bool alwaysValid)
 
 Technique::Technique(const Technique& rhs, const osg::CopyOp& copyop) :
     _contextMap(rhs._contextMap), _alwaysValid(rhs._alwaysValid),
-    _shadowingStateSet(copyop(rhs._shadowingStateSet)),
+    _shadowingStateSet(copyop(rhs._shadowingStateSet.get())),
     _validExpression(rhs._validExpression),
     _contextIdLocation(rhs._contextIdLocation)
 {