diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-06 05:02:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-06 05:06:21 +0300 |
commit | 07d13be678c6b8d5c5c793f664668831ac265f9e (patch) | |
tree | 08aad8fc480f959a1208d8ff50199f37f2881b89 /source/blender/compositor | |
parent | 54ab8c6abdb71084c3b4b94aaa2f1c050dc08534 (diff) |
Cleanup: rename 'verify' to 'ensure' for BKE_image_viewer functions
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/operations/COM_CompositorOperation.cpp | 2 | ||||
-rw-r--r-- | source/blender/compositor/operations/COM_ViewerOperation.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_CompositorOperation.cpp b/source/blender/compositor/operations/COM_CompositorOperation.cpp index ff9fc7dbcbc..20ea7009105 100644 --- a/source/blender/compositor/operations/COM_CompositorOperation.cpp +++ b/source/blender/compositor/operations/COM_CompositorOperation.cpp @@ -111,7 +111,7 @@ void CompositorOperation::deinitExecution() BLI_thread_lock(LOCK_DRAW_IMAGE); BKE_image_signal(G.main, - BKE_image_verify_viewer(G.main, IMA_TYPE_R_RESULT, "Render Result"), + BKE_image_ensure_viewer(G.main, IMA_TYPE_R_RESULT, "Render Result"), NULL, IMA_SIGNAL_FREE); BLI_thread_unlock(LOCK_DRAW_IMAGE); diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cpp b/source/blender/compositor/operations/COM_ViewerOperation.cpp index 50b508dafb1..96c6320ff01 100644 --- a/source/blender/compositor/operations/COM_ViewerOperation.cpp +++ b/source/blender/compositor/operations/COM_ViewerOperation.cpp @@ -129,7 +129,7 @@ void ViewerOperation::initImage() /* make sure the image has the correct number of views */ if (ima && BKE_scene_multiview_is_render_view_first(this->m_rd, this->m_viewName)) { - BKE_image_verify_viewer_views(this->m_rd, ima, this->m_imageUser); + BKE_image_ensure_viewer_views(this->m_rd, ima, this->m_imageUser); } BLI_thread_lock(LOCK_DRAW_IMAGE); |