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:
Diffstat (limited to 'source/blender/blenkernel/intern/image_partial_update.cc')
-rw-r--r--source/blender/blenkernel/intern/image_partial_update.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/image_partial_update.cc b/source/blender/blenkernel/intern/image_partial_update.cc
index f823c810f60..731ba879de8 100644
--- a/source/blender/blenkernel/intern/image_partial_update.cc
+++ b/source/blender/blenkernel/intern/image_partial_update.cc
@@ -29,7 +29,7 @@
* case ePartialUpdateCollectResult::PartialChangesDetected:
* PartialUpdateRegion change;
* while (BKE_image_partial_update_get_next_change(partial_update_user, &change) ==
- * PARTIAL_UPDATE_ITER_CHANGE_AVAILABLE){
+ * ePartialUpdateIterResult::ChangeAvailable){
* // Do something with the change.
* }
* case ePartialUpdateCollectResult::NoChangesDetected:
@@ -517,11 +517,11 @@ ePartialUpdateIterResult BKE_image_partial_update_get_next_change(PartialUpdateU
{
PartialUpdateUserImpl *user_impl = unwrap(user);
if (user_impl->updated_regions.is_empty()) {
- return PARTIAL_UPDATE_ITER_FINISHED;
+ return ePartialUpdateIterResult::Finished;
}
PartialUpdateRegion region = user_impl->updated_regions.pop_last();
*r_region = region;
- return PARTIAL_UPDATE_ITER_CHANGE_AVAILABLE;
+ return ePartialUpdateIterResult::ChangeAvailable;
}
} // namespace blender::bke::image::partial_update