From a888ce008050e1feba00b37b6f4a28b33d172cc0 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Mon, 28 Jan 2019 11:40:52 +0200 Subject: [PATCH] Changed: Make border duplication as default for build interface --HG-- branch : develop --- code/nel/tools/3d/build_interface/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/nel/tools/3d/build_interface/main.cpp b/code/nel/tools/3d/build_interface/main.cpp index 58c97e513..ed7f220b5 100644 --- a/code/nel/tools/3d/build_interface/main.cpp +++ b/code/nel/tools/3d/build_interface/main.cpp @@ -214,7 +214,7 @@ int main(int argc, char **argv) args.addArg("x", "extract", "", "Extract all interface elements from to ."); args.addAdditionalArg("output_filename", "PNG or TGA file to generate", true); args.addAdditionalArg("input_path", "Path that containts interfaces elements", false); - args.addArg("b", "border", "", "Duplicate icon border to allow bilinear filtering"); + args.addArg("", "no-border", "", "Disable border duplication. Enabled by default"); if (!args.parse(argc, argv)) return 1; @@ -229,10 +229,10 @@ int main(int argc, char **argv) } // - uint borderSize = 0; - if (args.haveArg("b")) + uint borderSize = 1; + if (args.haveLongArg("no-border")) { - borderSize = 1; + borderSize = 0; } // extract all interface elements