From 711da26ce3a7569bac93de296296387cfbd0a6b4 Mon Sep 17 00:00:00 2001
From: Olivier Couet <Olivier.Couet@cern.ch>
Date: Mon, 27 Nov 2006 15:39:40 +0000
Subject: [PATCH] - TPolyMarker3D::PaintH3 takes the pad margin into account

git-svn-id: http://root.cern.ch/svn/root/trunk@16960 27541ba8-7e3a-0410-8455-c3a389f83636
---
 g3d/src/TPolyMarker3D.cxx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/g3d/src/TPolyMarker3D.cxx b/g3d/src/TPolyMarker3D.cxx
index 4cbcaaf3169..d5d07f78a9b 100644
--- a/g3d/src/TPolyMarker3D.cxx
+++ b/g3d/src/TPolyMarker3D.cxx
@@ -1,4 +1,4 @@
-// @(#)root/g3d:$Name:  $:$Id: TPolyMarker3D.cxx,v 1.29 2006/05/24 15:31:40 brun Exp $
+// @(#)root/g3d:$Name:  $:$Id: TPolyMarker3D.cxx,v 1.30 2006/07/03 16:10:43 brun Exp $
 // Author: Nenad Buncic   21/08/95
 
 /*************************************************************************
@@ -161,7 +161,7 @@ TPolyMarker3D& TPolyMarker3D::operator=(const TPolyMarker3D& tp3)
       fGLList=tp3.fGLList;
       fLastPoint=tp3.fLastPoint;
       fName=tp3.fName;
-   } 
+   }
    return *this;
 }
 
@@ -437,6 +437,8 @@ void TPolyMarker3D::PaintH3(TH1 *h, Option_t *option)
                   yaxis->GetBinUpEdge(yaxis->GetLast()),
                   zaxis->GetBinUpEdge(zaxis->GetLast()));
 
+   view->PadRange(gPad->GetFrameFillColor());
+
    if (entry == 0) return;
    Int_t nmk = TMath::Min(kMaxEntry,entry);
    TPolyMarker3D *pm3d    = new TPolyMarker3D(nmk);
-- 
GitLab