]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/ConditionNode.hxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / model / ConditionNode.hxx
index d36b00f6fe92a4b0eb0bd9b3324ad802ac1448cb..f50ba99f11ead1b14afa614fc0a969268a0ae663 100644 (file)
@@ -35,7 +35,7 @@ public:
               const osg::CopyOp& op = osg::CopyOp::SHALLOW_COPY);
     META_Node(simgear,ConditionNode);
     ~ConditionNode();
-    const SGCondition* getCondition() { return _condition.ptr(); }
+    const SGCondition* getCondition() const { return _condition.ptr(); }
     void setCondition(const SGCondition* condition) { _condition = condition; }
 
     virtual void traverse(osg::NodeVisitor& nv);