From d694335cc2e882cb7ef08806bc7cd07191f93d70 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 20 Apr 2004 18:27:10 +0000 Subject: 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 --- source/blender/src/header_action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/src/header_action.c') 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; -- cgit v1.2.3