diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-21 22:33:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-21 22:33:14 +0300 |
commit | af835c52a908702391194b89760d8e2c239c3775 (patch) | |
tree | e502d1950f4ca826dd1163c823abbb057011b222 /source/blender/editors/space_logic | |
parent | 38ef2df8f72fe3289beb42284b1f2f3162636519 (diff) |
correction pointed out by Moguri, logic button was accepting Text instead of actions.
Diffstat (limited to 'source/blender/editors/space_logic')
-rw-r--r-- | source/blender/editors/space_logic/logic_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c index fce6167fe19..7539f721883 100644 --- a/source/blender/editors/space_logic/logic_window.c +++ b/source/blender/editors/space_logic/logic_window.c @@ -981,7 +981,7 @@ static void test_scriptpoin_but(struct bContext *C, char *name, ID **idpp) static void test_actionpoin_but(struct bContext *C, char *name, ID **idpp) { - *idpp= BLI_findstring(&CTX_data_main(C)->text, name, offsetof(ID, name) + 2); + *idpp= BLI_findstring(&CTX_data_main(C)->action, name, offsetof(ID, name) + 2); if(*idpp) id_us_plus(*idpp); } |