Skip to content
Snippets Groups Projects
Commit 5b6e00b0 authored by Philippe Canal's avatar Philippe Canal
Browse files

Fix Drawing a top level object (usually TBits). See...

Fix Drawing a top level object (usually TBits).  See http://root.cern.ch/phpBB3/viewtopic.php?t=13629


git-svn-id: http://root.cern.ch/svn/root/trunk@41686 27541ba8-7e3a-0410-8455-c3a389f83636
parent a286c9a7
No related branches found
No related tags found
No related merge requests found
...@@ -2530,6 +2530,8 @@ void* TBranchElement::GetValuePointer() const ...@@ -2530,6 +2530,8 @@ void* TBranchElement::GetValuePointer() const
return 0; return 0;
} else if (fType == 41) { } else if (fType == 41) {
return 0; return 0;
} else if (prID < 0) {
return object;
} else { } else {
//return GetInfoImp()->GetValue(object,fID,j,-1); //return GetInfoImp()->GetValue(object,fID,j,-1);
if (!GetInfoImp() || !object) return 0; if (!GetInfoImp() || !object) return 0;
......
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