Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-08 08:39:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-08 08:39:09 +0400
commitfcf137dbd7f31a22657a9fb5c460ee599bff4853 (patch)
treebeb4ba3e6548561ca7aad67e19acc5a0e75c3413 /source/blender/freestyle/intern/application
parent45669ebbc6fab86e1576378b75298116009a2318 (diff)
style cleanup
Diffstat (limited to 'source/blender/freestyle/intern/application')
-rw-r--r--source/blender/freestyle/intern/application/AppCanvas.cpp2
-rw-r--r--source/blender/freestyle/intern/application/Controller.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/application/AppCanvas.cpp b/source/blender/freestyle/intern/application/AppCanvas.cpp
index bca1044e770..2def2f269dd 100644
--- a/source/blender/freestyle/intern/application/AppCanvas.cpp
+++ b/source/blender/freestyle/intern/application/AppCanvas.cpp
@@ -98,7 +98,7 @@ void AppCanvas::init()
static bool firsttime = true;
if (firsttime) {
_Renderer = new BlenderStrokeRenderer;
- if(!StrokeRenderer::loadTextures()) {
+ if (!StrokeRenderer::loadTextures()) {
cerr << "unable to load stroke textures" << endl;
return;
}
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));
}