Continuation of https://developer.blender.org/D2424
Allows users to select a font for their text strips in the video sequence editor.
Differential D3621
Add font selection to VSE text strips Authored by Richard Antalik (ISS) on Aug 17 2018, 10:37 PM.
Details
Continuation of https://developer.blender.org/D2424 Allows users to select a font for their text strips in the video sequence editor.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions I added a bit more code context. Seems to mess up inline comments. Sorry
Comment Actions Compile warnings, struct TextVars; should be declared in this header file. source/blender/blenkernel/BKE_sequencer.h:308:44: warning: declaration of 'struct TextVars' will not be visible outside of this function [-Wvisibility]
void BKE_sequencer_text_font_unload(struct TextVars *data, const bool do_id_user);
^
source/blender/blenkernel/BKE_sequencer.h:309:42: warning: declaration of 'struct TextVars' will not be visible outside of this function [-Wvisibility]
void BKE_sequencer_text_font_load(struct TextVars *data, const bool do_id_user); ^
Comment Actions
Comment Actions I think the better fix is to ensure the clipboard does not affect the user counts at all. When copying onto the clipboard, the LIB_ID_CREATE_NO_USER_REFCOUNT flag can be passed. Freeing of the clipboard should also not decrement the user count then.
Comment Actions Modified clipboard copy operator, so it does not affect ID usercount Tested with sound strip
scene strip:
Did we open can of worms? :)
Comment Actions
Comment Actions I committed the clipboard refactoring separately, with a fix that should make the user counting correct. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||