diff --git a/challenges/complex_brdf/worker.py b/challenges/complex_brdf/worker.py index d53db2ae..e273381f 100644 --- a/challenges/complex_brdf/worker.py +++ b/challenges/complex_brdf/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/__init__.py b/challenges/movi/__init__.py index d5ac8d61..0e7d5304 100644 --- a/challenges/movi/__init__.py +++ b/challenges/movi/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_a.py b/challenges/movi/movi_a.py index cf6f49de..c9ceb786 100644 --- a/challenges/movi/movi_a.py +++ b/challenges/movi/movi_a.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_ab_worker.py b/challenges/movi/movi_ab_worker.py index 0046691e..66d07422 100644 --- a/challenges/movi/movi_ab_worker.py +++ b/challenges/movi/movi_ab_worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_b.py b/challenges/movi/movi_b.py index b50f23ce..ef3ddbab 100644 --- a/challenges/movi/movi_b.py +++ b/challenges/movi/movi_b.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_c.py b/challenges/movi/movi_c.py index 7ce2c567..3ca45bab 100644 --- a/challenges/movi/movi_c.py +++ b/challenges/movi/movi_c.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_c_worker.py b/challenges/movi/movi_c_worker.py index ba52921a..1601b6f3 100644 --- a/challenges/movi/movi_c_worker.py +++ b/challenges/movi/movi_c_worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_d.py b/challenges/movi/movi_d.py index 2b6a529f..fc69c292 100644 --- a/challenges/movi/movi_d.py +++ b/challenges/movi/movi_d.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_def_worker.py b/challenges/movi/movi_def_worker.py index 99b2ddbb..d93a73a2 100644 --- a/challenges/movi/movi_def_worker.py +++ b/challenges/movi/movi_def_worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_e.py b/challenges/movi/movi_e.py index 5065b7b8..9b84ee30 100644 --- a/challenges/movi/movi_e.py +++ b/challenges/movi/movi_e.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/movi_f.py b/challenges/movi/movi_f.py index dcc94f01..103956cd 100644 --- a/challenges/movi/movi_f.py +++ b/challenges/movi/movi_f.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/movi/panning_movi_e.py b/challenges/movi/panning_movi_e.py index e6148a15..78b28c83 100644 --- a/challenges/movi/panning_movi_e.py +++ b/challenges/movi/panning_movi_e.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/multiview_matting/worker.py b/challenges/multiview_matting/worker.py index 6f1557e4..84ae0ae0 100644 --- a/challenges/multiview_matting/worker.py +++ b/challenges/multiview_matting/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/point_tracking/dataset.py b/challenges/point_tracking/dataset.py index 000b25e4..6760a221 100644 --- a/challenges/point_tracking/dataset.py +++ b/challenges/point_tracking/dataset.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/pretraining_visual/__init__.py b/challenges/pretraining_visual/__init__.py index d5ac8d61..0e7d5304 100644 --- a/challenges/pretraining_visual/__init__.py +++ b/challenges/pretraining_visual/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/pretraining_visual/shapenet_pretraining.py b/challenges/pretraining_visual/shapenet_pretraining.py index 425e18d1..83e7566d 100644 --- a/challenges/pretraining_visual/shapenet_pretraining.py +++ b/challenges/pretraining_visual/shapenet_pretraining.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/pretraining_visual/worker.py b/challenges/pretraining_visual/worker.py index fc193805..081790aa 100644 --- a/challenges/pretraining_visual/worker.py +++ b/challenges/pretraining_visual/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/robust_nerf/worker.py b/challenges/robust_nerf/worker.py index a25b393a..56ef1e4e 100644 --- a/challenges/robust_nerf/worker.py +++ b/challenges/robust_nerf/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/single_view_reconstruction/worker.py b/challenges/single_view_reconstruction/worker.py index 9cd68477..d8d44a90 100644 --- a/challenges/single_view_reconstruction/worker.py +++ b/challenges/single_view_reconstruction/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/texture_structure_nerf/worker.py b/challenges/texture_structure_nerf/worker.py index 0ce3d294..a904f151 100644 --- a/challenges/texture_structure_nerf/worker.py +++ b/challenges/texture_structure_nerf/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/challenges/video_based_reconstruction/worker.py b/challenges/video_based_reconstruction/worker.py index 143cb18a..bf13fbda 100644 --- a/challenges/video_based_reconstruction/worker.py +++ b/challenges/video_based_reconstruction/worker.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docs/conf.py b/docs/conf.py index 6891be28..24765225 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/animation.py b/examples/animation.py index 48a125a9..c59327d3 100644 --- a/examples/animation.py +++ b/examples/animation.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/basic.py b/examples/basic.py index b351ec9e..d0d5a1cb 100644 --- a/examples/basic.py +++ b/examples/basic.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/bouncing_balls.py b/examples/bouncing_balls.py index 23f5fad2..71d4f808 100644 --- a/examples/bouncing_balls.py +++ b/examples/bouncing_balls.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/helloworld.py b/examples/helloworld.py index 8b1be4c1..ea2010ea 100644 --- a/examples/helloworld.py +++ b/examples/helloworld.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/keyframing.py b/examples/keyframing.py index cfb36c08..aecec15b 100644 --- a/examples/keyframing.py +++ b/examples/keyframing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/shapenet.py b/examples/shapenet.py index 584cb729..3d1098a1 100644 --- a/examples/shapenet.py +++ b/examples/shapenet.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/simulator.py b/examples/simulator.py index 0f643882..73dc1423 100644 --- a/examples/simulator.py +++ b/examples/simulator.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/__init__.py b/kubric/__init__.py index 4a6ba31d..a12b8211 100644 --- a/kubric/__init__.py +++ b/kubric/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/assets/__init__.py b/kubric/assets/__init__.py index 61b032fd..2716a271 100644 --- a/kubric/assets/__init__.py +++ b/kubric/assets/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/assets/asset_preprocessing.py b/kubric/assets/asset_preprocessing.py index 34ec77a9..bf055569 100644 --- a/kubric/assets/asset_preprocessing.py +++ b/kubric/assets/asset_preprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/assets/asset_source.py b/kubric/assets/asset_source.py index 0d7b0ac0..d41a5613 100644 --- a/kubric/assets/asset_source.py +++ b/kubric/assets/asset_source.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/assets/utils.py b/kubric/assets/utils.py index 3a2c9177..b5406e1c 100644 --- a/kubric/assets/utils.py +++ b/kubric/assets/utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/__init__.py b/kubric/core/__init__.py index d150d01e..eb3e56f7 100644 --- a/kubric/core/__init__.py +++ b/kubric/core/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/assets.py b/kubric/core/assets.py index 48842dc0..8b4100e8 100644 --- a/kubric/core/assets.py +++ b/kubric/core/assets.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/cameras.py b/kubric/core/cameras.py index f2a45906..7c0fe965 100644 --- a/kubric/core/cameras.py +++ b/kubric/core/cameras.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/color.py b/kubric/core/color.py index 2a00bbaf..17dde092 100644 --- a/kubric/core/color.py +++ b/kubric/core/color.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/lights.py b/kubric/core/lights.py index cdaf3806..df4c6c04 100644 --- a/kubric/core/lights.py +++ b/kubric/core/lights.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/materials.py b/kubric/core/materials.py index c94cd64b..67a70956 100644 --- a/kubric/core/materials.py +++ b/kubric/core/materials.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/objects.py b/kubric/core/objects.py index f6c131d8..c0e93d2e 100644 --- a/kubric/core/objects.py +++ b/kubric/core/objects.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/scene.py b/kubric/core/scene.py index 94555098..d07f6012 100644 --- a/kubric/core/scene.py +++ b/kubric/core/scene.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/traits.py b/kubric/core/traits.py index 1ad0b1f1..00d73814 100644 --- a/kubric/core/traits.py +++ b/kubric/core/traits.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/core/view.py b/kubric/core/view.py index c3f557ee..387bfb05 100644 --- a/kubric/core/view.py +++ b/kubric/core/view.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/datasets/__init__.py b/kubric/datasets/__init__.py index d5ac8d61..0e7d5304 100644 --- a/kubric/datasets/__init__.py +++ b/kubric/datasets/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/datasets/movid.py b/kubric/datasets/movid.py index d5ac8d61..0e7d5304 100644 --- a/kubric/datasets/movid.py +++ b/kubric/datasets/movid.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/datasets/utils.py b/kubric/datasets/utils.py index 514cdfc3..3cd7ba92 100644 --- a/kubric/datasets/utils.py +++ b/kubric/datasets/utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/file_io.py b/kubric/file_io.py index 9950f0fe..f6562206 100644 --- a/kubric/file_io.py +++ b/kubric/file_io.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/kubric_typing.py b/kubric/kubric_typing.py index 77b2f983..77bb6fc4 100644 --- a/kubric/kubric_typing.py +++ b/kubric/kubric_typing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/plotting.py b/kubric/plotting.py index b3031b62..7bd72d4f 100644 --- a/kubric/plotting.py +++ b/kubric/plotting.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/post_processing.py b/kubric/post_processing.py index 2ec520c5..a20739c3 100644 --- a/kubric/post_processing.py +++ b/kubric/post_processing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/randomness.py b/kubric/randomness.py index b5184c7a..7eb04b2d 100644 --- a/kubric/randomness.py +++ b/kubric/randomness.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/redirect_io.py b/kubric/redirect_io.py index 3d1e7092..baa2994e 100644 --- a/kubric/redirect_io.py +++ b/kubric/redirect_io.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/renderer/__init__.py b/kubric/renderer/__init__.py index e586bd37..481824a8 100644 --- a/kubric/renderer/__init__.py +++ b/kubric/renderer/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/renderer/blender.py b/kubric/renderer/blender.py index 459411ba..e17e0d53 100644 --- a/kubric/renderer/blender.py +++ b/kubric/renderer/blender.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -419,9 +419,13 @@ def _add_asset(self, obj: core.FileBasedObject): bpy.ops.import_scene.gltf(filepath=obj.render_filename, **obj.render_import_kwargs) # gltf files often contain "Empty" objects as placeholders for camera / lights etc. - # here we are interested only in the meshes, so delete everything else - non_mesh_objects = [obj for obj in bpy.context.selected_objects if obj.type != "MESH"] - bpy.ops.object.delete({"selected_objects": non_mesh_objects}) + # here we are interested only in the meshes, we filter these out and join all meshes into one. + bpy.ops.object.select_all(action='DESELECT') + mesh = [m for m in bpy.context.scene.objects if m.type == 'MESH'] + for ob in mesh: + ob.select_set(state=True) + bpy.context.view_layer.objects.active = ob + # make sure one of the objects is active, otherwise join() fails. # see https://blender.stackexchange.com/questions/132266/joining-all-meshes-in-any-context-gets-error bpy.context.view_layer.objects.active = ( diff --git a/kubric/renderer/blender_utils.py b/kubric/renderer/blender_utils.py index de54154c..e29c5ca4 100644 --- a/kubric/renderer/blender_utils.py +++ b/kubric/renderer/blender_utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/safeimport/__init__.py b/kubric/safeimport/__init__.py index d5ac8d61..0e7d5304 100644 --- a/kubric/safeimport/__init__.py +++ b/kubric/safeimport/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/safeimport/bpy.py b/kubric/safeimport/bpy.py index b04903a3..c5deb4c3 100644 --- a/kubric/safeimport/bpy.py +++ b/kubric/safeimport/bpy.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/scripts/download_GSO.py b/kubric/scripts/download_GSO.py index b9496d97..45fcba68 100644 --- a/kubric/scripts/download_GSO.py +++ b/kubric/scripts/download_GSO.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/scripts/download_hdri_haven.py b/kubric/scripts/download_hdri_haven.py index 112f035b..fe551a8b 100644 --- a/kubric/scripts/download_hdri_haven.py +++ b/kubric/scripts/download_hdri_haven.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/scripts/export_assets_from_blend.py b/kubric/scripts/export_assets_from_blend.py index 3efdcb86..55f2ffe8 100644 --- a/kubric/scripts/export_assets_from_blend.py +++ b/kubric/scripts/export_assets_from_blend.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/scripts/kubasic.py b/kubric/scripts/kubasic.py index 8af25ea5..4dc05330 100644 --- a/kubric/scripts/kubasic.py +++ b/kubric/scripts/kubasic.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/simulator/__init__.py b/kubric/simulator/__init__.py index 8378c9e2..a1437149 100644 --- a/kubric/simulator/__init__.py +++ b/kubric/simulator/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/simulator/pybullet.py b/kubric/simulator/pybullet.py index 1587bee2..e8dbfd8e 100644 --- a/kubric/simulator/pybullet.py +++ b/kubric/simulator/pybullet.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/sunds/__init__.py b/kubric/sunds/__init__.py index 75d1cc2c..e0a563fe 100644 --- a/kubric/sunds/__init__.py +++ b/kubric/sunds/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/sunds/kubric_builder.py b/kubric/sunds/kubric_builder.py index 65ad8458..7c939edb 100644 --- a/kubric/sunds/kubric_builder.py +++ b/kubric/sunds/kubric_builder.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/sunds/kubric_builder_test.py b/kubric/sunds/kubric_builder_test.py index d96e1c56..7a767884 100644 --- a/kubric/sunds/kubric_builder_test.py +++ b/kubric/sunds/kubric_builder_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/sunds/render_mock_utils.py b/kubric/sunds/render_mock_utils.py index 7bfb9a7d..dddaf540 100644 --- a/kubric/sunds/render_mock_utils.py +++ b/kubric/sunds/render_mock_utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/kubric/utils.py b/kubric/utils.py index 71f7112e..4402e82f 100644 --- a/kubric/utils.py +++ b/kubric/utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index e844dca2..fb5e0e2b 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/bpy_clean_mesh.py b/shapenet2kubric/bpy_clean_mesh.py index 73d71a39..fa168b8f 100644 --- a/shapenet2kubric/bpy_clean_mesh.py +++ b/shapenet2kubric/bpy_clean_mesh.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/convert.py b/shapenet2kubric/convert.py index 31536fc3..d076a787 100644 --- a/shapenet2kubric/convert.py +++ b/shapenet2kubric/convert.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/parfor.py b/shapenet2kubric/parfor.py index e0ff8560..2d17f15c 100644 --- a/shapenet2kubric/parfor.py +++ b/shapenet2kubric/parfor.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/pybullet_vhacd.py b/shapenet2kubric/pybullet_vhacd.py index c96a6c8d..ffe676cd 100644 --- a/shapenet2kubric/pybullet_vhacd.py +++ b/shapenet2kubric/pybullet_vhacd.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/shapenet_denylist.py b/shapenet2kubric/shapenet_denylist.py index 9d2e489e..76922c7e 100644 --- a/shapenet2kubric/shapenet_denylist.py +++ b/shapenet2kubric/shapenet_denylist.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/shapenet_synsets.py b/shapenet2kubric/shapenet_synsets.py index 0e134d76..fde25a20 100644 --- a/shapenet2kubric/shapenet_synsets.py +++ b/shapenet2kubric/shapenet_synsets.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/trimesh_utils.py b/shapenet2kubric/trimesh_utils.py index 20a889c9..8690d072 100644 --- a/shapenet2kubric/trimesh_utils.py +++ b/shapenet2kubric/trimesh_utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/shapenet2kubric/urdf_template.py b/shapenet2kubric/urdf_template.py index fcf25910..d34f8e03 100644 --- a/shapenet2kubric/urdf_template.py +++ b/shapenet2kubric/urdf_template.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/__init__.py b/test/__init__.py index d5ac8d61..0e7d5304 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_blender.py b/test/test_blender.py index 4fb90d30..425e506d 100644 --- a/test/test_blender.py +++ b/test/test_blender.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_cameras.py b/test/test_cameras.py index 54c53667..43a3bac0 100644 --- a/test/test_cameras.py +++ b/test/test_cameras.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_color.py b/test/test_color.py index e501070b..a290acaf 100644 --- a/test/test_color.py +++ b/test/test_color.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_core.py b/test/test_core.py index f4c80d02..1bbf0ca1 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_fileio.py b/test/test_fileio.py index 8d03bc2b..5a689afd 100644 --- a/test/test_fileio.py +++ b/test/test_fileio.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_postprocessing.py b/test/test_postprocessing.py index 17e42463..34481cd4 100644 --- a/test/test_postprocessing.py +++ b/test/test_postprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_pybullet.py b/test/test_pybullet.py index 4af60012..16ecc9ef 100644 --- a/test/test_pybullet.py +++ b/test/test_pybullet.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_scene.py b/test/test_scene.py index c75e849c..fcc705c3 100644 --- a/test/test_scene.py +++ b/test/test_scene.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/test_traits.py b/test/test_traits.py index 030f15b8..9542c30a 100644 --- a/test/test_traits.py +++ b/test/test_traits.py @@ -1,4 +1,4 @@ -# Copyright 2023 The Kubric Authors. +# Copyright 2024 The Kubric Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.