From e64166652b17631e9c2a5b64bd54e7cf38af8ebb Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 28 Jan 2020 10:49:05 +0100 Subject: Fix T68749: BPY: Deprecate height of popup `invoke_props_dialog` and `invoke_popup` had a width and a height field. The height field was ignored as the height is determined based on the content. This change removes the field from the BPY + WM_api Reviewed By: Campbell Barton, Jacques Lucke Differential Revision: https://developer.blender.org/D6694 --- source/blender/makesrna/intern/rna_wm_api.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_wm_api.c') diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c index 498b3613f4b..fcc5b3a9b42 100644 --- a/source/blender/makesrna/intern/rna_wm_api.c +++ b/source/blender/makesrna/intern/rna_wm_api.c @@ -634,7 +634,6 @@ static void rna_generic_op_invoke(FunctionRNA *func, int flag) if (flag & WM_GEN_INVOKE_SIZE) { RNA_def_int(func, "width", 300, 0, INT_MAX, "", "Width of the popup", 0, INT_MAX); - RNA_def_int(func, "height", 20, 0, INT_MAX, "", "Height of the popup", 0, INT_MAX); } if (flag & WM_GEN_INVOKE_RETURN) { -- cgit v1.2.3