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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-16 00:56:55 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-16 00:56:55 +0400
commit8d2176bfeb863429cc5d689d8da14e76e8ce8135 (patch)
tree92f179b73aea6ee5ab0e1574aac7cc9208efe89a /source/blender/src/editkey.c
parent10d865df2523f9ca10b76ee301444c444d330bb5 (diff)
- removed makeDispList, set_displist_onlyzero
- appropriate callers of makeDispList replaced with depgraph calls - unappropriate places just killed... small chance this gives some errors in corner cases if dep graph isn't notified (example, font family displists) but these can be tracked down as they show up. - still a large number of callers of makeDispListCurveTypes, but makeDispListMesh has just a few.
Diffstat (limited to 'source/blender/src/editkey.c')
-rw-r--r--source/blender/src/editkey.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c
index 60328cfc43a..909f29288f0 100644
--- a/source/blender/src/editkey.c
+++ b/source/blender/src/editkey.c
@@ -670,8 +670,12 @@ void showkeypos(Key *key, KeyBlock *kb)
if(ob==NULL) return;
if(key == give_current_key(ob)) {
-
- key->flag |= KEY_LOCKED; // prevents it from calculated
+
+ // key lock is for when a key is selected in the ipo window,
+ // it should be displayed in the 3d window then even though it
+ // is not actually for the current frame. this is not the best
+ // UI... - zr
+ key->flag |= KEY_LOCKED;
if(ob->type==OB_MESH) {
me= ob->data;