dont display image sequences outside the frame range in the 3D viewport.
[blender.git] / source / blender / editors / space_node / drawnode.c
index a4fb4d7dfeef6903241f1c395f57c649da5befd7..daab0ce0f5f91083e7cd1133d5cff01a040170ef 100644 (file)
@@ -1213,7 +1213,7 @@ static void node_buts_image_user(uiLayout *layout, bContext *C, PointerRNA *ptr,
                Scene *scene = CTX_data_scene(C);
                ImageUser *iuser = iuserptr->data;
                char numstr[32];
-               const int framenr = BKE_image_user_frame_get(iuser, CFRA, 0);
+               const int framenr = BKE_image_user_frame_get(iuser, CFRA, 0, NULL);
                BLI_snprintf(numstr, sizeof(numstr), IFACE_("Frame: %d"), framenr);
                uiItemL(layout, numstr, ICON_NONE);
        }