diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_image.h')
-rw-r--r-- | source/blender/blenkernel/BKE_image.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index a04f6438170..725f19b1ce2 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -98,7 +98,7 @@ int BKE_imbuf_write(struct ImBuf *ibuf, const char *name, const struct ImageForm int BKE_imbuf_write_as(struct ImBuf *ibuf, const char *name, struct ImageFormatData *imf, - const bool is_copy); + const bool save_copy); void BKE_image_path_from_imformat(char *string, const char *base, const char *relbase, @@ -238,7 +238,7 @@ void BKE_image_editors_update_frame(const struct Main *bmain, int cfra); /* dependency graph update for image user users */ bool BKE_image_user_id_has_animation(struct ID *id); -void BKE_image_user_id_eval_animation(struct Depsgraph *depsgrah, struct ID *id); +void BKE_image_user_id_eval_animation(struct Depsgraph *depsgraph, struct ID *id); /* sets index offset for multilayer files */ struct RenderPass *BKE_image_multilayer_index(struct RenderResult *rr, struct ImageUser *iuser); @@ -272,7 +272,7 @@ void BKE_image_free_all_textures(struct Main *bmain); void BKE_image_free_anim_ibufs(struct Image *ima, int except_frame); /* does all images with type MOVIE or SEQUENCE */ -void BKE_image_all_free_anim_ibufs(struct Main *bmain, int except_frame); +void BKE_image_all_free_anim_ibufs(struct Main *bmain, int cfra); void BKE_image_free_all_gputextures(struct Main *bmain); void BKE_image_free_anim_gputextures(struct Main *bmain); @@ -392,7 +392,7 @@ void BKE_image_free_unused_gpu_textures(void); struct RenderSlot *BKE_image_add_renderslot(struct Image *ima, const char *name); bool BKE_image_remove_renderslot(struct Image *ima, struct ImageUser *iuser, int slot); -struct RenderSlot *BKE_image_get_renderslot(struct Image *ima, int slot); +struct RenderSlot *BKE_image_get_renderslot(struct Image *ima, int index); bool BKE_image_clear_renderslot(struct Image *ima, struct ImageUser *iuser, int slot); #ifdef __cplusplus |