diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2016-02-12 15:57:58 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2016-02-12 16:05:05 +0300 |
commit | a143aeaeae5fa52a8dff012b5e36d43f969c891e (patch) | |
tree | 8d8d36c49b5f32a3be88fd8927ceec4d1678e77d /source/blender/windowmanager | |
parent | 9c21015c26564504fda20f09b510f2d81a51bbfc (diff) |
Integrate font objects copy/paste with system clipboard
When pasting text, the style (bold, material, ...) is maintained, if it was originally copied from Blender.
This fixes the issue of missing copy/paste options for font objects
(they were present back in Blender 2.49)
Reviewers: Severin, campbellbarton, brecht
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index b6b4f42e1b7..4dc60a9b729 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -64,6 +64,7 @@ #include "BKE_mball_tessellate.h" #include "BKE_node.h" #include "BKE_report.h" +#include "BKE_font.h" #include "BKE_addon.h" #include "BKE_appdir.h" @@ -504,6 +505,7 @@ void WM_exit_ext(bContext *C, const bool do_python) BKE_sequencer_free_clipboard(); /* sequencer.c */ BKE_tracking_clipboard_free(); BKE_mask_clipboard_free(); + BKE_vfont_clipboard_free(); #ifdef WITH_COMPOSITOR COM_deinitialize(); |