diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-27 13:41:16 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-01-27 13:42:46 +0400 |
commit | 1d12c3fd534b8307ac01f8f0eb6e0ee61c1bd6e4 (patch) | |
tree | 4ac7cd082b81ec63f840e7f55ac513e2cbe6016b /source/blender/windowmanager | |
parent | bee6c1779e9337fbc0b34d9747b4aeb647b44cfa (diff) |
Implement clipboard for mask splines
So now it's possible to copy-paste splines between layers.
Implementation is pretty much straightforward and duplicates
some logic which we've got in sequencer/tracking clipboards.
Will work on a common routine for clipboards later, for now
it's not so much crucial to have.
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 5196b584816..e0ec9c994db 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -75,6 +75,7 @@ #include "BKE_sequencer.h" /* free seq clipboard */ #include "BKE_material.h" /* clear_matcopybuf */ #include "BKE_tracking.h" /* free tracking clipboard */ +#include "BKE_mask.h" /* free mask clipboard */ #include "RE_engine.h" #include "RE_pipeline.h" /* RE_ free stuff */ @@ -449,6 +450,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(); #ifdef WITH_COMPOSITOR COM_deinitialize(); |