diff options
author | Hans Goudey <h.goudey@me.com> | 2020-06-19 19:40:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-06-19 19:40:48 +0300 |
commit | eaa44afe703eeb785f4590719b39392b66d6a312 (patch) | |
tree | 8dbf73119d330d51e9b1181af1ede4a98e69f90c /source/blender/blenkernel/BKE_constraint.h | |
parent | 27fb75fec265fbea31f3976e829b405a87b9970e (diff) |
UI: Drag and Drop Constraints, Layout Updates
This patch implements the list panel system D7490 for constraints.
In this case the panels are still defined in Python.
The layouts are also updated to use subpanels and the a more organized
single column layout. There may be more tweaks necessary for the
layouts.
Reviewed By: Severin, billreynish, Mets
Differential Revision: https://developer.blender.org/D7499
Diffstat (limited to 'source/blender/blenkernel/BKE_constraint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_constraint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 8fe3bd77a26..020b0f8b913 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -136,6 +136,9 @@ typedef struct bConstraintTypeInfo { const bConstraintTypeInfo *BKE_constraint_typeinfo_get(struct bConstraint *con); const bConstraintTypeInfo *BKE_constraint_typeinfo_from_type(int type); +void BKE_constraint_panel_id(int type, char *r_name); +void BKE_constraint_bone_panel_id(int type, char *r_name); + /* ---------------------------------------------------------------------------- */ /* Constraint function prototypes */ |