blender/release/scripts
Joshua Leung 53f4aa7817 WIP: Added dedicated operator for unlinking actions from the Action Editor (NLA buttons support to come)
After looking into this more carefully, I've found that we do in fact need a dedicate
operator to add some custom logic when trying to unlink an action from the editor/datablocks.

Specifically, this new operator does the following:
1) When in Tweak Mode, it shouldn't be possible to unlink the active action,
   or else, everything turns to custard.
2) If the Action doesn't have any other users, the user should at least get
   a warning that it is going to get lost.
3) We need a convenient way to exit Tweak Mode from the Action Editor
4) If none of the above apply, we can just unlink normally

This commit implements this for the Action Editor, with stubs for the NLA Editor too.
Those will be fixed next.
2015-04-04 11:37:06 +13:00
..
addons@3fc5b82c6b Corrections to submodules: we need to use latest tag available from master branch 2015-03-31 22:10:26 +05:00
addons_contrib@cf842d8bb7 Point submodules to RC1 tags 2015-03-11 20:49:46 +05:00
freestyle Freestyle: Fix for references of deprecated texture stroke shaders. 2015-03-09 12:53:13 +09:00
modules Fix T44137: bpy.path.is_subdir fails 2015-03-26 16:32:16 +11:00
presets Update keyconfigs for stickies 2015-04-03 16:44:42 +02:00
startup WIP: Added dedicated operator for unlinking actions from the Action Editor (NLA buttons support to come) 2015-04-04 11:37:06 +13:00
templates_osl Cycles: Remove Westin closure. 2014-10-03 16:03:49 +02:00
templates_py Correction to previous commit 2015-03-05 20:36:58 +01:00