The "Render Result" image should get tagged "ok" after being set. Some of
authorTon Roosendaal <ton@blender.org>
Thu, 22 Jun 2006 16:56:55 +0000 (16:56 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 22 Jun 2006 16:56:55 +0000 (16:56 +0000)
the other functions in blender check for it.

Important note; this builtin generated image, also "Viewer Node", should
not be used as input for composite, or for Image texture. I should make
this excluded from browsing probably...

source/blender/src/drawimage.c

index 02901aaab0a87b18cc8f3036dd3878836f35962d..8399c93775f956cc7b3751ae537f157818c123f7 100644 (file)
@@ -264,6 +264,8 @@ void what_image(SpaceImage *sima)
                                        ibuf->y= rres.recty;
                                        ibuf->rect= rres.rect32;
                                        ibuf->rect_float= rres.rectf;
+                                       
+                                       sima->image->ok= 1;
                                }
                        }
                }