14 struct PartialUpdateUser *
user;
41 if (
image != new_image) {
45 return user !=
nullptr;
57 if (
user !=
nullptr) {
struct PartialUpdateUser * BKE_image_partial_update_create(const struct Image *image)
Create a new PartialUpdateUser. An Object that contains data to use partial updates.
void BKE_image_partial_update_free(struct PartialUpdateUser *user)
free a partial update user.
std::unique_ptr< IDProperty, IDPropertyDeleter > create(StringRefNull prop_name, int32_t value)
Allocate a new IDProperty of type IDP_INT, set its name and value.
struct PartialUpdateUser * user
const struct Image * image
virtual ~PartialImageUpdater()
void ensure_image(const Image *new_image)
Ensure that there is a partial update user for the given image.