From 98b7a4d3c7fa5b5f0829187e3e67d554a3794995 Mon Sep 17 00:00:00 2001 From: Kevin Zakka Date: Tue, 20 Feb 2024 16:14:13 -0800 Subject: [PATCH] Add missing free joint arg. --- obj2mjcf/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj2mjcf/cli.py b/obj2mjcf/cli.py index 9bc8990..77c77ff 100644 --- a/obj2mjcf/cli.py +++ b/obj2mjcf/cli.py @@ -247,7 +247,7 @@ def process_obj(filename: Path, args: Args) -> None: # Build an MJCF. builder = MJCFBuilder(filename, mesh, mtls, decomp_success=decomp_success) - builder.build() + builder.build(add_free_joint=args.add_free_joint) # Compile and step the physics to check for any errors. if args.compile_model: