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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-04 02:39:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-04 02:39:21 +0400
commit60e5abe71f8c219f7ba6dcb8ac9d109ca5610715 (patch)
tree6a57327818427635e3ac1304e8c1858f9b0621bd /intern/cycles/render/session.h
parentb314209356288c3768faa1d7fbd7b1bf9d179a7a (diff)
Fix a few issues reported by coverity scan.
Diffstat (limited to 'intern/cycles/render/session.h')
-rw-r--r--intern/cycles/render/session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index 8cff64def4e..b2ab4cb9f34 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -49,7 +49,7 @@ public:
bool experimental;
int samples;
int2 tile_size;
- int tile_order;
+ TileOrder tile_order;
int start_resolution;
int threads;
@@ -81,6 +81,7 @@ public:
text_timeout = 1.0;
shadingsystem = SVM;
+ tile_order = TILE_CENTER;
}
bool modified(const SessionParams& params)
@@ -99,6 +100,7 @@ public:
&& cancel_timeout == params.cancel_timeout
&& reset_timeout == params.reset_timeout
&& text_timeout == params.text_timeout
+ && tile_order == params.tile_order
&& shadingsystem == params.shadingsystem); }
};