Revision 73ed076 by Dalai Felinto September 16, 2021, 14:11 (GMT) |
Hide empty keymap warnings when running a template |
Revision c938d9a by Dalai Felinto September 16, 2021, 14:02 (GMT) |
Cleanup: Rename USER_APP_LOCK_UI_LAYOUT There will be other settings that lock other aspects of the UI layout (e.g., resizing of editors). So better to name this setting what it actually handles (the corners). New name: USER_APP_LOCK_CORNER_SPLIT Differential Revision: D12516 |
Revision 9fee59a by Dalai Felinto September 16, 2021, 14:02 (GMT) |
Rename show_layout_ui > show_corner_split and remove from UI This breaks API compatibility. However we are now grouping this setting in the proper section (preferences.apps), so scripts had to update anyways. So they may as well do it for the final name. The reason to remove from the UI is that this is intended for app setup, and as such it should not be exposed to final users until we have apps better presented (for 3.1 hopefully). Differential Revision: D12516 |
Revision f2cfad7 by Dalai Felinto September 16, 2021, 14:02 (GMT) |
App Settings: Regions Visbility Toggle The toggle that allow users to "show" the region (header, toolbar, ...) when it is collapsed can now be configured for the apps. Note: This option is not visibile in the UI. Differential Revision: D12516 |
Revision 867e6ff by Dalai Felinto September 16, 2021, 14:02 (GMT) |
App Settings: Edge Resize This prevents both editor resize as well as regions (e.g., the toolbar). Note: This option is not visible in the UI. Differential Revision: D12516 |
Revision 08aa0eb by Bastien Montagne September 16, 2021, 13:31 (GMT) |
Cleanup: WM append code: de-duplicate post-make-local process a bit. |
Revision 236a9f0 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
IDManagement: refactor: Remove 'test' part from `BKE_lib_id_make_local`. Mixing testing and actual action in a single function is just not a good way to do things, and the 'testing' feature is not used anywhere anymore, time to get rid of it. |
Revision 1fce661 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Fix/refactor `BKE_id_clear_newpoin` and `BKE_main_id_newptr_and_tag_clear`. Those were not clearing embdeed IDs flags and `newid` pointers at all... |
Revision 1d5cc52 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Cleanup: Rename `BKE_id_clear_newpoin` to `BKE_id_newptr_and_tag_clear`. |
Revision 4ec2bdb by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Cleanup: Add comment about 'make_local' callback of Brush doing bad thing. Callbacks in IDTypeInfo should never affect other IDs if they are not embedded. We break this rule in some cases, at least each of those should be clearly commented about and get some security checks to try to avoid unexpected issues as much as possible. |
Revision 27b6636 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Cleanup: Comment about shpaekey being treated as embedded IDs in `BKE_id_newptr_and_tag_clear`. |
Revision e04a10a by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Cleanup: no need to clear new flags and pointers from whole Main when making a single ID local. |
Revision 3deb564 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Cleanup/Fix outliner 'make local' code. While likely harmless, this code was doing extremely bad thing, by-passing the whole lower-level `BKE_lib_id_make_local` call in case it would fail and deciding by itself to forcefully make the given ID local. Bad. Very, very, very bad. |
Revision e97653c by Bastien Montagne September 16, 2021, 12:30 (GMT) |
Fix: properly implement the 'only append' execption case for WorkSpaces. Add needed extra flag and utils to IDType to mark and check an ID type as only appendable. Note that this is only a loose user-level enforcement currently, in any case you need to be able to link an ID to append it currently, so for low-level code this does not really matter. Currently only WorkSpace and Screen ID types are marked with the new `IDTYPE_FLAGS_ONLY_APPEND` flag. |
Revision 95c2f0b by Bastien Montagne September 16, 2021, 12:30 (GMT) |
IDType: Cleanup: Remove useless `IDTYPE_FLAGS_NO_MAKELOCAL`. This flag became a full duplicate of `IDTYPE_FLAGS_NO_LIBLINKING`, which is a good thing (don't think we ever want to be able to link some data, without being able to make it local...). So we can now remove it and use `IDTYPE_FLAGS_NO_LIBLINKING` instead. |
Revision 4f38624 by Bastien Montagne September 16, 2021, 12:30 (GMT) |
IDType: Add `BKE_idtype_idcode_is_localizable`. This is the same as `BKE_idtype_idcode_is_linkable` currently, used only in one place in UI code of IDtemplate. |
Revision bfe8f29 by Campbell Barton September 16, 2021, 11:48 (GMT) |
Fix ID-property UI versioning skipping nested meta-strips |
Revision 860a55d by Campbell Barton September 16, 2021, 06:56 (GMT) |
Fix security popup re-displaying after undo Don't reset these flags when loading a file (or undoing) rely on BPY_python_reset to reset the flags. |
Revision 0e329a9 by Campbell Barton September 16, 2021, 06:39 (GMT) |
Fix memory leak if an error occurred assigning id-property sequence |
Revision 0530b67 by Campbell Barton September 16, 2021, 06:36 (GMT) |
Fix bisect gizmo offset while dragging |
|