Skip to content
Snippets Groups Projects
Commit f7ff8643 authored by Matevz Tadel's avatar Matevz Tadel
Browse files

Fix compilation error on windows.

git-svn-id: http://root.cern.ch/svn/root/trunk@46373 27541ba8-7e3a-0410-8455-c3a389f83636
parent ecea8794
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ public: ...@@ -101,7 +101,7 @@ public:
virtual void DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl=-1) const; 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). // Override in sub-classes that do direct object rendering (e.g. TGLObject).
virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; } virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
......
...@@ -458,6 +458,18 @@ void TGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) ...@@ -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() Bool_t TGLLogicalShape::GetIgnoreSizeForCameraInterest()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment