Skip to content

Commit

Permalink
Fixes missing tiles when using legacy Source info
Browse files Browse the repository at this point in the history
If the tiles were generated from a "Source" such as a grey scale data
set, then they don't necessarily have MaxTileCoord and MinTileCoord meta
information. However, since dvid will always serve those values as an
array of zeros we have to use the "Source" attribute as a check to make
sure that we are loading the correct data.
  • Loading branch information
neomorphic committed Jan 12, 2016
1 parent d3610b0 commit c7e67dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/TileMapArea.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ var TileMapArea = React.createClass({
// doesn't exist, then we are out of luck as we can't predict the
// extent of the data set.
if (dataIsTiled) {
if (!tileData.Extended.MaxTileCoord) {
if (tileData.Extended.Source) {
var source = tileData.Extended.Source;
ServerStore.state.api.node({
uuid: uuid,
Expand Down

0 comments on commit c7e67dc

Please sign in to comment.