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-04-20 22:27:10 +0400
committerTon Roosendaal <ton@blender.org>2004-04-20 22:27:10 +0400
commitd694335cc2e882cb7ef08806bc7cd07191f93d70 (patch)
tree217888e6ea3cf00f2126e4289c42a5a22668e73f /source/blender/src/header_action.c
parentb41cf698dcf2669c278b45aaf717ab2c59702821 (diff)
Another phase in panelizing all window types. Did lots of small code
fixes, including: - Panel in action window (disabled it, since there's no need for it) - fix: when action was added to mesh with vertex keys, the action couldn't be deleted, nor did action window draw key names - mouse on RVK (key) in Action window: Nkey menu pops as well. This is not a good candidate to put in Panel, no selection possible here. - when you change name of RVK in action window, it shows in IpoWindow too
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r--source/blender/src/header_action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c
index a2b87477f3a..f9c153cc3a6 100644
--- a/source/blender/src/header_action.c
+++ b/source/blender/src/header_action.c
@@ -132,6 +132,7 @@ void do_action_buttons(unsigned short event)
G.v2d->cur.ymin=-SCROLLB;
if (!G.saction->action){ // here the mesh rvk?
+ G.v2d->cur.xmax=0;
G.v2d->cur.xmax=100;
}
else {
@@ -678,7 +679,7 @@ void action_buttons(void)
uiBlockSetEmboss(block, UI_EMBOSSX);
- if (!get_action_mesh_key()) {
+ if (G.saction->action) {
/* NAME ETC */
ob=OBACT;
from = (ID*) ob;