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-05-06 23:42:38 +0400
committerTon Roosendaal <ton@blender.org>2004-05-06 23:42:38 +0400
commitdba290879d3bda2adb74bc8d466c01ebe6cbd6d4 (patch)
tree55043e9f31b87e84c56236ed2c593490df4edeae /source/blender/src/header_action.c
parenta686d5cb45aca41ee9762bab2badef7619e1d444 (diff)
bug fix #1237
A too strict pointer check caused action browsing in action-window not to work when object didn't have action yet.
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r--source/blender/src/header_action.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c
index 0ea50317cf8..f79bb2da7b5 100644
--- a/source/blender/src/header_action.c
+++ b/source/blender/src/header_action.c
@@ -682,7 +682,9 @@ void action_buttons(void)
uiBlockSetEmboss(block, UI_EMBOSSX);
- if (G.saction->action) {
+ // object action is allowed to be zero!
+ if (!get_action_mesh_key()) {
+
/* NAME ETC */
ob=OBACT;
from = (ID*) ob;