forked from bartvdbraak/blender
53f4aa7817
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. |
||
---|---|---|
.. | ||
addons@3fc5b82c6b | ||
addons_contrib@cf842d8bb7 | ||
freestyle | ||
modules | ||
presets | ||
startup | ||
templates_osl | ||
templates_py |