diff options
author | Ton Roosendaal <ton@blender.org> | 2007-02-22 19:00:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-02-22 19:00:20 +0300 |
commit | 685d26f90131da6bfe4bc3de7cbde9b8d41135d6 (patch) | |
tree | b5737265df85f9ab09a285aef479cfee237bc967 /source/blender/src/editsima.c | |
parent | 9759a373d74ee5fa935d0ca24a52d6dfba2ce485 (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.c | 1 |
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"); |