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>2004-12-04 01:04:28 +0300
committerTon Roosendaal <ton@blender.org>2004-12-04 01:04:28 +0300
commit792c5334f8e4071557ae16e49c62942b91a62735 (patch)
tree03bc9bc1859283e19945097223bebfc7b1d13bfd /source/blender/src/buttons_scene.c
parent1fc26457f4eef234d16ebe3769ddbb377dcc5489 (diff)
- added undo pushes for buttons invoking file window in scene buttons
(set directory, backbuf, scene) - small annoyance; after extrude the transform() didn't react to the "midtog" feature (middlemouse constraint)
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r--source/blender/src/buttons_scene.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c
index cb9f184bf1e..98a856a731d 100644
--- a/source/blender/src/buttons_scene.c
+++ b/source/blender/src/buttons_scene.c
@@ -435,6 +435,7 @@ static void output_pic(char *name)
{
strcpy(G.scene->r.pic, name);
allqueue(REDRAWBUTSSCENE, 0);
+ BIF_undo_push("Change output picture directory");
}
static void backbuf_pic(char *name)
@@ -449,6 +450,7 @@ static void backbuf_pic(char *name)
free_image_buffers(ima); /* force read again */
ima->ok= 1;
}
+ BIF_undo_push("Change background picture");
}
static void ftype_pic(char *name)
@@ -464,6 +466,7 @@ static void scene_change_set(Scene *sc, Scene *set) {
allqueue(REDRAWBUTSSCENE, 0);
allqueue(REDRAWVIEW3D, 0);
+ BIF_undo_push("Change set Scene");
}
}
@@ -789,7 +792,6 @@ void do_render_panels(unsigned short event)
break;
case B_CLEARSET:
scene_change_set(G.scene, NULL);
- BIF_undo_push("Clear set");
break;
}
}