diff options
Diffstat (limited to 'source/blender/editors/space_script/space_script.c')
-rw-r--r-- | source/blender/editors/space_script/space_script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index fc2f10670df..b882a3313cd 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -197,6 +197,7 @@ void ED_spacetype_script(void) ARegionType *art; st->spaceid= SPACE_SCRIPT; + strncpy(st->name, "Script", BKE_ST_MAXNAME); st->new= script_new; st->free= script_free; @@ -219,7 +220,7 @@ void ED_spacetype_script(void) art= MEM_callocN(sizeof(ARegionType), "spacetype script region"); art->regionid = RGN_TYPE_HEADER; art->minsizey= HEADERY; - art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D; + art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D|ED_KEYMAP_HEADER; art->init= script_header_area_init; art->draw= script_header_area_draw; |