diff --git a/graf3d/gl/inc/TGLLogicalShape.h b/graf3d/gl/inc/TGLLogicalShape.h
index 226affff91bd09788e6b8a6f12223255cd59099f..d9383dd21d75f961ea0a1eee79d42c3b404b48f2 100644
--- a/graf3d/gl/inc/TGLLogicalShape.h
+++ b/graf3d/gl/inc/TGLLogicalShape.h
@@ -101,7 +101,7 @@ public:
 
    virtual void     DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl=-1) const;
 
-   virtual Bool_t IgnoreSizeForOfInterest() const { return fgIgnoreSizeForCameraInterest; }
+   virtual Bool_t IgnoreSizeForOfInterest() const;
 
    // Override in sub-classes that do direct object rendering (e.g. TGLObject).
    virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
diff --git a/graf3d/gl/src/TGLLogicalShape.cxx b/graf3d/gl/src/TGLLogicalShape.cxx
index 5a966b9812268f97f50202dbbc7bf3f9b688e92e..aabfa764bbb43a6862bd09250478eb21d7a40a9d 100644
--- a/graf3d/gl/src/TGLLogicalShape.cxx
+++ b/graf3d/gl/src/TGLLogicalShape.cxx
@@ -458,6 +458,18 @@ void TGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y)
    }
 }
 
+//______________________________________________________________________________
+Bool_t TGLLogicalShape::IgnoreSizeForOfInterest() const
+{
+   // Return true if size of this shape should be ignored when determining if
+   // the object should be drawn. In this base-class we simply return state of
+   // static flag fgIgnoreSizeForCameraInterest.
+   //
+   // Several sub-classes override this virtual function.
+
+   return fgIgnoreSizeForCameraInterest;
+}
+
 //______________________________________________________________________________
 Bool_t TGLLogicalShape::GetIgnoreSizeForCameraInterest()
 {