Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-26 07:05:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-26 07:05:07 +0300
commit6be7a98906b769c1496127552b524124a0e70c5a (patch)
tree9b20ec2147c656e815adb4688045acbb5af3e074 /source/blender/windowmanager/WM_toolsystem.h
parent4c75cc488a49ff9dedf9b0aa520f8688d753b987 (diff)
PyAPI: raise error when toolbar panels use tabs
Add-ons that register panels in the toolbar can no longer use 'bl_categories' (tabs).
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r--source/blender/windowmanager/WM_toolsystem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h
index 21408896877..fd61e5c9699 100644
--- a/source/blender/windowmanager/WM_toolsystem.h
+++ b/source/blender/windowmanager/WM_toolsystem.h
@@ -41,6 +41,7 @@ struct PointerRNA;
struct ScrArea;
struct Main;
struct StructRNA;
+struct WorkSpace;
/* wm_toolsystem.c */
@@ -58,7 +59,7 @@ bool WM_toolsystem_ref_ensure(
struct WorkSpace *workspace, const bToolKey *tkey,
struct bToolRef **r_tref);
struct bToolRef *WM_toolsystem_ref_set_by_name(
- bContext *C, struct WorkSpace *workspace, const bToolKey *tkey,
+ struct bContext *C, struct WorkSpace *workspace, const bToolKey *tkey,
const char *name, bool cycle);
struct bToolRef_Runtime *WM_toolsystem_runtime_from_context(struct bContext *C);