From a711b01a2f19ee2d5f207a1133f0743cd91105e7 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Mon, 21 Oct 2002 16:13:06 +0000
Subject: [PATCH] From Philippe: This patch makes sure that a scalar weight is
 used for all the elements of an array which is drawn. Before this patch the
 scalar weight was only applied to the first element of the array.

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

diff --git a/treeplayer/src/TTreePlayer.cxx b/treeplayer/src/TTreePlayer.cxx
index 1b523be3e83..c307575ee7a 100644
--- a/treeplayer/src/TTreePlayer.cxx
+++ b/treeplayer/src/TTreePlayer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/treeplayer:$Name:  $:$Id: TTreePlayer.cxx,v 1.108 2002/10/03 18:09:51 rdm Exp $
+// @(#)root/treeplayer:$Name:  $:$Id: TTreePlayer.cxx,v 1.109 2002/10/04 20:14:52 brun Exp $
 // Author: Rene Brun   12/01/96
 
 /*************************************************************************
@@ -1505,7 +1505,7 @@ void TTreePlayer::EntryLoop(Int_t &action, TObject *obj, Int_t nentries, Int_t f
             fNfill = 0;
          }
       }
-      ww = treeWeight;
+      ww = fW[nfill0];
 
       for (i=1;i<ndata;i++) {
          if (SelectMultiple) {
-- 
GitLab