tornavis/tests/python
Michael B Johnson b262655d39 USD: export to a single root prim by default
This PR adds the following changes:

A single root is always set as default. After talking to Wave and
Spiff, we settled on root being the best default. Users who don't
want a single root prim inserted, can choose to clear the field
The root prim no longer requires the user to prefix the field with /.
It will implicitly insert that for them.

On export, the root_prim hierarchy is now defined all as Xform
instead of just the final prim in the path. Each prim also has
custom metadata added to show that it was generated by Blender.
This follows convention in other DCCs as well.

On import, the code now finds the hierarchy of generated prims
using that metadata. It then skips importing them. This means that
you can roundtrip hierarchies even with an inserted root.

Co-authored-by: Dhruv Govil <dgovil2@apple.com>
Pull Request: https://projects.blender.org/blender/blender/pulls/113187
2023-10-20 10:58:40 -04:00
..
collada CMake: use bf_io_ prefix for IO tests 2023-09-23 20:22:19 +10:00
modules License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
view_layer License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
CMakeLists.txt Merge branch 'blender-v4.0-release' into main 2023-10-06 21:43:56 +02:00
alembic_export_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
batch_import.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bevel_operator.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_alembic_io_test.py Cleanup: spelling in comments 2023-08-25 09:40:42 +10:00
bl_animation_fcurves.py Fix bf_animation_fcurves tests failing depending on preferences 2023-09-23 21:17:50 +10:00
bl_blendfile_io.py Fix #111488: Copying object crashes Blender after recent refactor. 2023-08-25 11:04:03 +02:00
bl_blendfile_liblink.py Always clear 'fake user' flag from linked data. 2023-08-21 15:33:25 +02:00
bl_blendfile_library_overrides.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_blendfile_utils.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_blendfile_versioning.py Cleanup: make format 2023-10-04 21:30:41 +02:00
bl_bundled_modules.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_constraints.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_id_management.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_imbuf_load.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_imbuf_save.py Color management: Add AgX view transform and make it default 2023-08-22 12:53:15 +02:00
bl_io_curve_svg_test.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_keymap_completeness.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_keymap_validate.py Fix crash caused by bl_keymap_validate clearing key-maps 2023-10-04 22:20:38 +11:00
bl_load_addons.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_load_py_modules.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_mesh_modifiers.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_mesh_validate.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_node_group_compat.py Cleanup: ensure trailing newline, delete trailing space 2023-10-05 13:57:14 +11:00
bl_node_group_interface.py Test fix: Node groups outputs now placed before inputs 2023-10-03 17:24:12 +02:00
bl_pyapi_bpy_driver_secure_eval.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_bpy_path.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_bpy_utils_units.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_idprop.py Fix RNA path resolving failing to lookup empty string properties 2023-08-22 13:31:26 +10:00
bl_pyapi_idprop_datablock.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_mathutils.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_prop_array.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_pyapi_text.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_rigging_symmetrize.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_rna_defaults.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_rna_manual_reference.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_rst_completeness.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_test.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_usd_export_test.py USD: export to a single root prim by default 2023-10-20 10:58:40 -04:00
bl_usd_import_test.py Fix USD I/O crashing on reports by using new wmJob report system. 2023-10-20 11:08:27 +02:00
boolean_operator.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
compositor_cpu_render_tests.py Compositor: Increase tolerance for matte tests 2023-08-21 12:12:12 +02:00
compositor_realtime_render_tests.py Realtime Compositor tests: enable keying tests. 2023-09-14 20:27:31 +02:00
curve_to_mesh.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
cycles_render_tests.py Fix Cycles hair orientation test failing on Linux/Windows 2023-08-18 15:33:41 +02:00
deform_modifiers.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
eevee_next_render_tests.py EEVEE-Next: Rename light probes 2023-10-11 19:38:42 +02:00
eevee_render_tests.py EEVEE-Next: Rename light probes 2023-10-11 19:38:42 +02:00
ffmpeg_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
geo_node_sim_test.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
geo_node_test.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
gpu_info.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
modifiers.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
opengl_draw_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
operators.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
pep8.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_cloth.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_dynamic_paint.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_ocean.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_particle_instance.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_particle_system.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
physics_softbody.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
rna_array.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
rna_info_dump.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
rst_to_doctree_mini.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
sequencer_render_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
storm_render_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
workbench_render_tests.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00