diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-15 01:43:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-15 01:48:20 +0300 |
commit | 7f8f362e018e99376387ed62629749024acab28d (patch) | |
tree | 6f261af9051e50b14abcb0b99efb303d8106428c /source/blender/blenkernel/BKE_workspace.h | |
parent | ded8f5cc1903ce848fc88b102b76140fb1a21937 (diff) |
Tool System: avoid redundant refresh
Workspaces refreshes tools multiple times when used by multiple windows.
Also improve comments.
Diffstat (limited to 'source/blender/blenkernel/BKE_workspace.h')
-rw-r--r-- | source/blender/blenkernel/BKE_workspace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_workspace.h b/source/blender/blenkernel/BKE_workspace.h index 0a4ad4cd994..133cf2d6cf5 100644 --- a/source/blender/blenkernel/BKE_workspace.h +++ b/source/blender/blenkernel/BKE_workspace.h @@ -110,6 +110,8 @@ void BKE_workspace_hook_layout_for_workspace_set(struct WorkSpaceInstanceHook *h bool BKE_workspace_owner_id_check(const struct WorkSpace *workspace, const char *owner_id) ATTR_NONNULL(); +void BKE_workspace_id_tag_all_visible(struct Main *bmain, int tag) ATTR_NONNULL(); + #undef GETTER_ATTRS #undef SETTER_ATTRS |