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>2008-05-01 21:31:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-01 21:31:01 +0400
commit0d1aa8d7bfc83162dc14616e4d588939d9361ba1 (patch)
tree6c6b2f6ece9cd8978fc08ce1eaa796b5cd695df7 /source/blender/src/space.c
parent31adad5b4d8dd7728a1a4d21ede7b34e6ff01a89 (diff)
Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes. Fix related to bug #10198: particle mode didn't respect undo steps set to 0. Also made the memory statistics print (ctrl+alt+shift+q) use the more human readable form to give an overview, instead of printing out a python script.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 72fb442fda0..41e539c3d1a 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1005,6 +1005,8 @@ void BIF_undo_push(char *str)
undo_push_armature(str);
}
else if(G.f & G_PARTICLEEDIT) {
+ if (U.undosteps == 0) return;
+
PE_undo_push(str);
}
else {