Skip to content

Commit

Permalink
Minor: fix linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christof committed Jan 19, 2016
1 parent 579db9f commit ca64389
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/graphics/volume_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ QLoggingCategory vmChan("Graphics.VolumeManager");

void VolumeManager::updateStorage(Gl *gl)
{

qCInfo(vmChan) << "initialize: current texture:" << texture;

if (texture)
Expand All @@ -24,7 +23,6 @@ void VolumeManager::updateStorage(Gl *gl)
volumeAtlasSize = Eigen::Vector3i::Zero();
}


this->gl = gl;

if (volumes.size() == 0)
Expand All @@ -33,7 +31,8 @@ void VolumeManager::updateStorage(Gl *gl)
for (auto iterator = volumes.cbegin(); iterator != volumes.cend();)
{
auto volumeSize = iterator->second->getDataSize();
qCInfo(vmChan) << "adding volume with size:" << volumeSize.x() << volumeSize.y() << volumeSize.z();
qCInfo(vmChan) << "adding volume with size:" << volumeSize.x()
<< volumeSize.y() << volumeSize.z();
volumeAtlasSize.z() += volumeSize.z();
volumeAtlasSize.x() = std::max(volumeSize.x(), volumeAtlasSize.x());
volumeAtlasSize.y() = std::max(volumeSize.y(), volumeAtlasSize.y());
Expand Down

0 comments on commit ca64389

Please sign in to comment.