Skip to content

Commit

Permalink
Performance fix for ome#1573.
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/omero/trunk@5500 05709c45-44f0-0310-885b-81a1db45b4a6
  • Loading branch information
callan committed Oct 17, 2009
1 parent caa0bb2 commit f215098
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/server/src/ome/services/ThumbnailBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,9 @@ public Map<Long, byte[]> getThumbnailByLongestSideSet(Integer size,
}
else
{
// Prime a shallowly loaded Pixels object that we've
// already queried for.
pixels = pixelsMap.get(pixelsId);
if (!setPixelsId(pixelsId))
{
_resetDefaults();
Expand Down

0 comments on commit f215098

Please sign in to comment.