Bugfix #23420
authorTon Roosendaal <ton@blender.org>
Mon, 13 Dec 2010 18:22:59 +0000 (18:22 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 13 Dec 2010 18:22:59 +0000 (18:22 +0000)
Compositor/Image viewer
In 2.4x viewer nodes had animation playback. Not restored yet.
However, when loading such older files the viewer never showed
any result.

source/blender/blenkernel/intern/image.c

index efa8a824663ca033b1049dcb3aff0b5ca374d445..eb85db8983576f307f218f401f92f33bc45fa21d 100644 (file)
@@ -2149,7 +2149,8 @@ ImBuf *BKE_image_acquire_ibuf(Image *ima, ImageUser *iuser, void **lock_r)
                                                BLI_lock_thread(LOCK_VIEWER);
                                                *lock_r= ima;
 
-                                               frame= iuser?iuser->framenr:0;
+                                               /* XXX anim play for viewer nodes not yet supported */
+                                               frame= 0; // XXX iuser?iuser->framenr:0;
                                                ibuf= image_get_ibuf(ima, 0, frame);
 
                                                if(!ibuf) {