- disable mask drawing in the sequencer, this isn't usable yet and likely wont be working in release.

- use define for max mask mblur samples, increase to 64 max.
This commit is contained in:
2012-08-01 12:59:38 +00:00
parent da4d468e98
commit e00c7558bd
4 changed files with 11 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ protected:
bool m_do_smooth;
bool m_do_feather;
struct MaskRasterHandle *m_rasterMaskHandles[32];
struct MaskRasterHandle *m_rasterMaskHandles[CMP_NODE_MASK_MBLUR_SAMPLES_MAX];
unsigned int m_rasterMaskHandleTot;
/**
@@ -81,7 +81,7 @@ public:
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 setMotionBlurSamples(int samples) { this->m_rasterMaskHandleTot = min(max(1, samples), CMP_NODE_MASK_MBLUR_SAMPLES_MAX); }
void setMotionBlurShutter(float shutter) { this->m_frame_shutter = shutter; }
void executePixel(float *color, float x, float y, PixelSampler sampler);