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-16 12:53:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-16 12:53:11 +0400
commita2e2489f611eabcaa2d388379fcc4256bc0a6b38 (patch)
tree84e45e12b4782da9507796d5e64a24726e844414 /source/blender/compositor/operations/COM_MaskOperation.cpp
parent4cacff234225d81c44144551fd295a24a9b3c30c (diff)
correct own naming error BLI -> BKE
Diffstat (limited to 'source/blender/compositor/operations/COM_MaskOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_MaskOperation.cpp8
1 files changed, 4 insertions, 4 deletions
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;