From 5440b57432b43207e42817fe4dcce1716151ef3c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 1 May 2011 14:02:40 +0000 Subject: improve image sequence usability, problem was when the image didn't load there was no way to know the frame that blender was attempting to read. added a label for image sequence images showing the image file's frame, even when not able to load, this also gives realtime feedback to the user while dragging the frame offset/start/duration buttons about so they can better understand how these settings work. --- source/blender/blenkernel/BKE_image.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_image.h') diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index 64c29158bd4..10910493ec9 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -133,6 +133,7 @@ void BKE_image_assign_ibuf(struct Image *ima, struct ImBuf *ibuf); /* called on frame change or before render */ void BKE_image_user_calc_frame(struct ImageUser *iuser, int cfra, int fieldnr); +int BKE_image_user_get_frame(const struct ImageUser *iuser, int cfra, int fieldnr); /* fix things in ImageUser when new image gets assigned */ void BKE_image_user_new_image(struct Image *ima, struct ImageUser *iuser); -- cgit v1.2.3