diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-01-28 12:49:05 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-02-17 17:03:11 +0300 |
commit | e64166652b17631e9c2a5b64bd54e7cf38af8ebb (patch) | |
tree | 01c21f1afff2dc811cc8868205684f334c1f994b /source/blender/editors/space_text/text_ops.c | |
parent | e2e2a98573e060cf26ab5141550dcd64838afc40 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_text/text_ops.c')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index f496d004ae2..1462cb2cc10 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -2315,7 +2315,7 @@ static int text_jump_exec(bContext *C, wmOperator *op) static int text_jump_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { - return WM_operator_props_dialog_popup(C, op, 200, 100); + return WM_operator_props_dialog_popup(C, op, 200); } void TEXT_OT_jump(wmOperatorType *ot) |