From eaa44afe703eeb785f4590719b39392b66d6a312 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 19 Jun 2020 12:40:48 -0400 Subject: 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 --- source/blender/blenkernel/BKE_constraint.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_constraint.h') 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 */ -- cgit v1.2.3