Code cleanup: remove unused function BKE_image_assign_ibuf
Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1083
This commit is contained in:
@@ -186,9 +186,6 @@ void BKE_image_walk_all_users(const struct Main *mainp, void *customdata,
|
||||
/* ensures an Image exists for viewing nodes or render */
|
||||
struct Image *BKE_image_verify_viewer(int type, const char *name);
|
||||
|
||||
/* force an ImBuf to become part of Image */
|
||||
void BKE_image_assign_ibuf(struct Image *ima, struct ImBuf *ibuf);
|
||||
|
||||
/* called on frame change or before render */
|
||||
void BKE_image_user_frame_calc(struct ImageUser *iuser, int cfra, int fieldnr);
|
||||
void BKE_image_user_check_frame_calc(struct ImageUser *iuser, int cfra, int fieldnr);
|
||||
|
||||
@@ -2180,11 +2180,6 @@ Image *BKE_image_verify_viewer(int type, const char *name)
|
||||
return ima;
|
||||
}
|
||||
|
||||
void BKE_image_assign_ibuf(Image *ima, ImBuf *ibuf)
|
||||
{
|
||||
image_assign_ibuf(ima, ibuf, IMA_NO_INDEX, 0);
|
||||
}
|
||||
|
||||
void BKE_image_walk_all_users(const Main *mainp, void *customdata,
|
||||
void callback(Image *ima, ImageUser *iuser, void *customdata))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user