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-07-27 14:20:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-27 14:20:36 +0400
commitb8d96bc011d255fa06c1327999c199c417c89225 (patch)
tree6332b4a3aacc719b0243b2386baba1450f787df6 /source/blender/compositor/operations/COM_MaskOperation.h
parent52aa7a4a4c07f915b634a56162c9093ef1fecb09 (diff)
mask motion blur shutter option
Diffstat (limited to 'source/blender/compositor/operations/COM_MaskOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MaskOperation.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_MaskOperation.h b/source/blender/compositor/operations/COM_MaskOperation.h
index a8c23b3bca1..77d8e1148c2 100644
--- a/source/blender/compositor/operations/COM_MaskOperation.h
+++ b/source/blender/compositor/operations/COM_MaskOperation.h
@@ -54,7 +54,9 @@ protected:
float m_maskWidthInv; /* 1 / m_maskWidth */
float m_maskHeightInv; /* 1 / m_maskHeight */
- int m_framenumber;
+ float m_frame_shutter;
+ int m_frame_number;
+
bool m_do_smooth;
bool m_do_feather;
@@ -91,10 +93,12 @@ public:
this->m_maskHeight = height;
this->m_maskHeightInv = 1.0f / (float)height;
}
- void setFramenumber(int framenumber) { this->m_framenumber = framenumber; }
+ void setFramenumber(int frame_number) { this->m_frame_number = frame_number; }
void setSmooth(bool smooth) { this->m_do_smooth = smooth; }
void setFeather(bool feather) { this->m_do_feather = feather; }
+
void setMotionBlurSamples(int samples) { this->m_rasterMaskHandleTot = max(1, samples); }
+ void setMotionBlurShutter(float shutter) { this->m_frame_shutter = shutter; }
#ifdef USE_RASKTER
void *initializeTileData(rcti *rect);