From 620b960d3d8cfd90b9f0df6ba3671c33eccb8309 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Apr 2019 09:19:45 +1000 Subject: Cleanup: style, use braces for editors --- source/blender/editors/lattice/editlattice_tools.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/lattice/editlattice_tools.c') diff --git a/source/blender/editors/lattice/editlattice_tools.c b/source/blender/editors/lattice/editlattice_tools.c index 8ef383de552..0cfe59ef06c 100644 --- a/source/blender/editors/lattice/editlattice_tools.c +++ b/source/blender/editors/lattice/editlattice_tools.c @@ -57,8 +57,9 @@ static bool make_regular_poll(bContext *C) { Object *ob; - if (ED_operator_editlattice(C)) + if (ED_operator_editlattice(C)) { return 1; + } ob = CTX_data_active_object(C); return (ob && ob->type == OB_LATTICE); -- cgit v1.2.3