diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 08:39:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 08:39:09 +0400 |
commit | fcf137dbd7f31a22657a9fb5c460ee599bff4853 (patch) | |
tree | beb4ba3e6548561ca7aad67e19acc5a0e75c3413 /source/blender/freestyle/intern/application/Controller.cpp | |
parent | 45669ebbc6fab86e1576378b75298116009a2318 (diff) |
style cleanup
Diffstat (limited to 'source/blender/freestyle/intern/application/Controller.cpp')
-rw-r--r-- | source/blender/freestyle/intern/application/Controller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index d5163e2e76f..5b010d5ebc2 100644 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -650,7 +650,7 @@ void Controller::ComputeSteerableViewMap() // FIXME !! again! img[i] = new GrayImage(_pView->width(), _pView->height()); for (unsigned int y = 0; y < img[i]->height(); ++y) { - for(unsigned int x = 0; x < img[i]->width(); ++x) { + for (unsigned int x = 0; x < img[i]->width(); ++x) { //img[i]->setPixel(x, y, (float)qGray(qimg.pixel(x, y)) / 255.0f); img[i]->setPixel(x, y, (float)qGray(qimg.pixel(x, y))); //float c = qGray(qimg.pixel(x, y)); @@ -664,7 +664,7 @@ void Controller::ComputeSteerableViewMap() #if 0 qimg = QImage(_pView->width(), _pView->height(), 32); for (unsigned int y = 0; y < img[i]->height(); ++y) { - for(unsigned int x = 0; x < img[i]->width(); ++x) { + for (unsigned int x = 0; x < img[i]->width(); ++x) { float v = img[i]->pixel(x, y); qimg.setPixel(x, y, qRgb(v, v, v)); } |