From a2e2489f611eabcaa2d388379fcc4256bc0a6b38 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 Jul 2012 08:53:11 +0000 Subject: correct own naming error BLI -> BKE --- source/blender/compositor/operations/COM_MaskOperation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/compositor/operations/COM_MaskOperation.cpp') diff --git a/source/blender/compositor/operations/COM_MaskOperation.cpp b/source/blender/compositor/operations/COM_MaskOperation.cpp index d2a4854efee..057a749080a 100644 --- a/source/blender/compositor/operations/COM_MaskOperation.cpp +++ b/source/blender/compositor/operations/COM_MaskOperation.cpp @@ -152,9 +152,9 @@ void MaskOperation::initExecution() const int width = this->getWidth(); const int height = this->getHeight(); - this->m_rasterMaskHandle = BLI_maskrasterize_handle_new(); + this->m_rasterMaskHandle = BKE_maskrasterize_handle_new(); - BLI_maskrasterize_handle_init(this->m_rasterMaskHandle, this->m_mask, width, height, TRUE, this->m_do_smooth, this->m_do_feather); + BKE_maskrasterize_handle_init(this->m_rasterMaskHandle, this->m_mask, width, height, TRUE, this->m_do_smooth, this->m_do_feather); } } } @@ -162,7 +162,7 @@ void MaskOperation::initExecution() void MaskOperation::deinitExecution() { if (this->m_rasterMaskHandle) { - BLI_maskrasterize_handle_free(this->m_rasterMaskHandle); + BKE_maskrasterize_handle_free(this->m_rasterMaskHandle); this->m_rasterMaskHandle = NULL; } @@ -197,7 +197,7 @@ void MaskOperation::executePixel(float *color, int x, int y, void *data) { const float xy[2] = {x / (float)this->m_maskWidth, y / (float)this->m_maskHeight}; if (this->m_rasterMaskHandle) { - color[0] = BLI_maskrasterize_handle_sample(this->m_rasterMaskHandle, xy); + color[0] = BKE_maskrasterize_handle_sample(this->m_rasterMaskHandle, xy); } else { color[0] = 0.0f; -- cgit v1.2.3