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:
authorTon Roosendaal <ton@blender.org>2007-02-22 19:00:20 +0300
committerTon Roosendaal <ton@blender.org>2007-02-22 19:00:20 +0300
commit685d26f90131da6bfe4bc3de7cbde9b8d41135d6 (patch)
treeb5737265df85f9ab09a285aef479cfee237bc967 /source/blender/src/editsima.c
parent9759a373d74ee5fa935d0ca24a52d6dfba2ce485 (diff)
Bugfix:
UV Image window: option "Add new" did not properly set 'image user', causing image to not draw and not assign to meshes.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index a230ed424b4..d4d487d24a3 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1892,6 +1892,7 @@ void new_image_sima(void)
return;
G.sima->image= BKE_add_image_size(width, height, name, uvtestgrid);
+ BKE_image_signal(G.sima->image, &G.sima->iuser, IMA_SIGNAL_USER_NEW_IMAGE);
image_changed(G.sima, 0);
BIF_undo_push("Add image");