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>2012-08-10 17:23:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-10 17:23:31 +0400
commite8772477894a6fd8c09488b488fdcc1af432da1b (patch)
tree9e26bbf5bb90d8fbf1c1b28d92cca2cc2bbb2802 /source/blender/compositor/intern/COM_NodeOperation.h
parentfea0e60227825ea917e59348f1be10bd9caeabb4 (diff)
use define for bokeh blur size, also define size of determineResolution args.
Diffstat (limited to 'source/blender/compositor/intern/COM_NodeOperation.h')
-rw-r--r--source/blender/compositor/intern/COM_NodeOperation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_NodeOperation.h b/source/blender/compositor/intern/COM_NodeOperation.h
index a9cf281b02f..93a19529d34 100644
--- a/source/blender/compositor/intern/COM_NodeOperation.h
+++ b/source/blender/compositor/intern/COM_NodeOperation.h
@@ -96,7 +96,7 @@ public:
* @param resolution the result of this operation
* @param preferredResolution the preferrable resolution as no resolution could be determined
*/
- virtual void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]);
+ virtual void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
/**
* @brief isOutputOperation determines whether this operation is an output of the ExecutionSystem during rendering or editing.
@@ -174,7 +174,7 @@ public:
* @brief set the resolution
* @param resolution the resolution to set
*/
- void setResolution(unsigned int resolution[]) {
+ void setResolution(unsigned int resolution[2]) {
if (!isResolutionSet()) {
this->m_width = resolution[0];
this->m_height = resolution[1];