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>2006-11-03 16:12:05 +0300
committerTon Roosendaal <ton@blender.org>2006-11-03 16:12:05 +0300
commit4841a875a8638e2976ea699a36c25c61738e5988 (patch)
treee3dfb9f332849e41762df03533f57d65bf67d817 /source/blender/src/editsima.c
parent51d3793192303bdaf804292f2ab21ac51da82561 (diff)
Bugfix #5057
Added undo push after "create UV grid image". Note that it won't help much, since the Imbuf is freed on undo... that's for another project, to have a fixed Image cache to use in Blender.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index 13061fba392..d8b4aa0548c 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1763,6 +1763,8 @@ void new_image_sima()
G.sima->image= new_image(width, height, name, uvtestgrid);
image_changed(G.sima, 0);
+ BIF_undo_push("Add image");
+
allqueue(REDRAWIMAGE, 0);
allqueue(REDRAWVIEW3D, 0);
}