diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_MaskOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MaskOperation.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_MaskOperation.h b/source/blender/compositor/operations/COM_MaskOperation.h index 74fd12277e8..8fb98481ec7 100644 --- a/source/blender/compositor/operations/COM_MaskOperation.h +++ b/source/blender/compositor/operations/COM_MaskOperation.h @@ -25,6 +25,11 @@ #ifndef _COM_MaskOperation_h #define _COM_MaskOperation_h +/* XXX, remove when the USE_RASKTER option is also removed */ +extern "C" { + #include "BKE_mask.h" +} + #include "COM_NodeOperation.h" #include "DNA_scene_types.h" #include "DNA_mask_types.h" @@ -46,10 +51,16 @@ protected: int m_framenumber; bool m_do_smooth; bool m_do_feather; + +#ifdef USE_RASKTER float *m_rasterizedMask; ListBase m_maskLayers; +#else /* USE_RASKTER */ + struct MaskRasterHandle *m_rasterMaskHandle; +#endif /* USE_RASKTER */ + /** * Determine the output resolution. The resolution is retrieved from the Renderer */ |