From 55478b26165a27ef8de5ead51231f81d8a9142e1 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 28 Oct 2004 14:13:46 +0000 Subject: New 'visible only' select didnt work correct when parts of faces were hidden. The drawing function needs to return the actual face total, not the amount that was drawn --- source/blender/src/header_action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 00d18b27afe..358b346304f 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -748,7 +748,9 @@ void action_buttons(void) uiBlockSetEmboss(block, UI_EMBOSSX); // object action is allowed to be zero! - if (!get_action_mesh_key()) { + /* (ton) commented out below line, since people can apparently link Action to any object (mesh) and + not unlink anymore when theres a mesh key. Needs to be rethought this stuff! */ + //if (!get_action_mesh_key()) { /* NAME ETC */ ob=OBACT; @@ -768,7 +770,7 @@ void action_buttons(void) "converted into Ipo keys"); xco+=64; - } + //} uiClearButLock(); /* draw LOCK */ -- cgit v1.2.3