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:
authorJoseph Gilbert <ascotan@gmail.com>2003-11-13 15:24:18 +0300
committerJoseph Gilbert <ascotan@gmail.com>2003-11-13 15:24:18 +0300
commit994e0c40b1905df2813241129eb4bbdeb35c4611 (patch)
tree099cfbe3bb4b4f9342e7d43b5e2e9073b7370244 /source/blender/python/api2_2x/Lattice.c
parenta4aad039aa69784c61ff1eb8da8505c3b4e89172 (diff)
- modified insertKey() to set current frame back to 1 instead of redraw the headers
Diffstat (limited to 'source/blender/python/api2_2x/Lattice.c')
-rw-r--r--source/blender/python/api2_2x/Lattice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Lattice.c b/source/blender/python/api2_2x/Lattice.c
index b35decd15df..d9be2a56e86 100644
--- a/source/blender/python/api2_2x/Lattice.c
+++ b/source/blender/python/api2_2x/Lattice.c
@@ -539,7 +539,7 @@ static PyObject *Lattice_insertKey(BPy_Lattice *self, PyObject *args)
//insert a keybock for the lattice
insert_lattkey(lt);
- allqueue(REDRAWHEADERS, 0);
+ G.scene->r.cfra = oldfra;
Py_INCREF(Py_None);
return Py_None;