Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-10 19:59:20 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-10 19:59:20 +0300
commit8e837d6f8676de5f08c64f21402b799055ac4942 (patch)
treeee92bd0d4489e6cff9eea782acb47b08d388f9d1
parent148b8d8014d07444aef2ce015c7068adc195053a (diff)
Fix for bug #5980:
Baked textures not updating in the 3D view. This bug was a side effect of the image not being marked as loaded after changing parameters (uv test grid, size) of a generated type image.
-rw-r--r--source/blender/blenkernel/intern/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 0b4ec067e36..152f898d174 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -1441,6 +1441,7 @@ ImBuf *BKE_image_get_ibuf(Image *ima, ImageUser *iuser)
if(ima->gen_y==0) ima->gen_y= 256;
ibuf= add_ibuf_size(ima->gen_x, ima->gen_y, ima->name, ima->gen_type);
image_assign_ibuf(ima, ibuf, IMA_NO_INDEX, 0);
+ ima->ok= IMA_OK_LOADED;
}
}
}