Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/image.c
| Show First 20 Lines • Show All 5,174 Lines • ▼ Show 20 Lines | if (ima && BKE_image_is_animated(ima) && ima->gpuframenr != framenr) { | ||||
| ima->gpuflag |= IMA_GPU_REFRESH; | ima->gpuflag |= IMA_GPU_REFRESH; | ||||
| ima->gpuframenr = framenr; | ima->gpuframenr = framenr; | ||||
| } | } | ||||
| if (iuser->ok == 0) { | if (iuser->ok == 0) { | ||||
| iuser->ok = 1; | iuser->ok = 1; | ||||
| } | } | ||||
| if (ima) { | |||||
| LISTBASE_FOREACH (ImageTile *, tile, &ima->tiles) { | |||||
| if (tile->ok == 0) { | |||||
| tile->ok = IMA_OK; | |||||
| } | |||||
| } | |||||
| } | |||||
| iuser->flag &= ~IMA_NEED_FRAME_RECALC; | iuser->flag &= ~IMA_NEED_FRAME_RECALC; | ||||
| } | } | ||||
| } | } | ||||
| /* goes over all ImageUsers, and sets frame numbers if auto-refresh is set */ | /* goes over all ImageUsers, and sets frame numbers if auto-refresh is set */ | ||||
| static void image_editors_update_frame(Image *ima, | static void image_editors_update_frame(Image *ima, | ||||
| ID *UNUSED(iuser_id), | ID *UNUSED(iuser_id), | ||||
| ImageUser *iuser, | ImageUser *iuser, | ||||
| ▲ Show 20 Lines • Show All 591 Lines • Show Last 20 Lines | |||||