bdk-blender/tests/python
Bastien Montagne a60f651502 Address #105786: How to handle linked data with 'fake user' set.
133dde41bb changed how 'fake user' flag is handled with linked data.

Previous behavior was a bug/inconsistency, in that the 'directly linked'
tag would be 'over-set' and never cleared, forcing saving references to
a lot of unused linked data.
Note that ideally, 'Fake user' flag should be ignored, and the only way
to decide whether to keep or not a linked ID should be whether it's
actually used by some local data.

However, #103867 and #105687 show that this is causing issues in some cases,
where users wrongly relied on the linked data's pre-defined 'Fake user' flag
to keep their linked data in their production files, even if said data had no
real user.

While not ideal, for now we should consider 'fake user' flag for linked data
as a real usage case. A better handling of this edge-case is related to
wider designs aboud handling of 'non used' data on file save, whether
linked IDs should keep track of being explicitly or implicitly linked by
the user, etc.
2023-03-20 15:29:24 +01:00
..
collada Re-design of submodules used in blender.git 2023-02-21 16:39:58 +01:00
modules Tests: Print when mesh test starts, to help debugging crashes 2022-12-20 12:02:05 -06:00
view_layer Re-design of submodules used in blender.git 2023-02-21 16:39:58 +01:00
alembic_export_tests.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
batch_import.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bevel_operator.py Cleanup: run autopep8 on tests/ 2022-04-19 15:25:55 +10:00
bl_alembic_io_test.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bl_animation_fcurves.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bl_blendfile_io.py Address #105786: How to handle linked data with 'fake user' set. 2023-03-20 15:29:24 +01:00
bl_blendfile_liblink.py Address #105786: How to handle linked data with 'fake user' set. 2023-03-20 15:29:24 +01:00
bl_blendfile_library_overrides.py Cleanup: remove redundant braces from assert & raise 2022-09-14 16:18:59 +10:00
bl_blendfile_utils.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
bl_bundled_modules.py Tests: test availability of new bundled Python libraries 2023-01-09 13:42:56 +01:00
bl_constraints.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
bl_id_management.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
bl_io_curve_svg_test.py SVG: Add more sophisticated test suit 2022-11-10 11:04:30 +01:00
bl_keymap_completeness.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
bl_keymap_validate.py Cleanup: remove redundant braces from assert & raise 2022-09-14 16:18:59 +10:00
bl_load_addons.py Cleanup: correct API usage for script access 2022-09-29 17:22:32 +10:00
bl_load_py_modules.py Cleanup: correct API usage for script access 2022-09-29 17:22:32 +10:00
bl_mesh_modifiers.py Cleanup: remove redundant braces from assert & raise 2022-09-14 16:18:59 +10:00
bl_mesh_validate.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bl_pyapi_bpy_driver_secure_eval.py Tests: add test to ensure restricted py-driver execution is working 2022-07-12 16:11:19 +10:00
bl_pyapi_bpy_path.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
bl_pyapi_bpy_utils_units.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
bl_pyapi_idprop_datablock.py Cleanup: replace StringIO seek() & read() with a call to getvalue() 2022-12-18 14:18:01 +11:00
bl_pyapi_idprop.py Cleanup: add trailing commas for multi-line collections 2022-12-15 17:34:09 +11:00
bl_pyapi_mathutils.py Tests: enable element-wise multiplication for mathutils API tests 2022-11-20 10:42:17 +11:00
bl_pyapi_prop_array.py Fix #105678: Crash assigning Image.pixels to an undersized sequence 2023-03-14 16:00:24 +11:00
bl_pyapi_text.py Update tests to account for Text.as_string not adding a trailing newline 2022-05-17 18:11:16 +10:00
bl_rigging_symmetrize.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
bl_rna_defaults.py Test: update bl_rna_defaults 2023-03-01 11:18:47 +11:00
bl_rna_manual_reference.py Cleanup: remove unused variables 2023-02-11 14:04:35 +11:00
bl_rst_completeness.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bl_run_operators_event_simulate.py Cleanup: remove redundant braces from assert & raise 2022-09-14 16:18:59 +10:00
bl_run_operators.py Sculpt: New Cavity Automasking Mode 2022-09-28 16:22:34 -07:00
bl_test.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
bl_usd_export_test.py Cleanup: Make format, fix missing static warning 2023-02-15 17:39:53 -05:00
bl_usd_import_test.py Fix #105327: USD import fails to recognize UV map varname 2023-03-18 00:05:39 +01:00
boolean_operator.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
CMakeLists.txt Fix T103354: Author extents on UsdGeomMesh 2023-02-14 12:11:53 +01:00
compositor_render_tests.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
curve_to_mesh.py Cleanup: run autopep8 on tests/ 2022-04-19 15:25:55 +10:00
cycles_render_tests.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
deform_modifiers.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
eevee_render_tests.py Cleanup: format 2022-08-04 07:41:03 +10:00
ffmpeg_tests.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
geo_node_test.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
gpu_info.py License headers: add missing license headers 2022-08-09 13:25:11 +10:00
modifiers.py Cleanup: format 2022-12-29 20:49:08 +13:00
opengl_draw_tests.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
operators.py Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
pep8.py Fix pep8 checker operating on dot-files 2023-02-11 14:12:43 +11:00
physics_cloth.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
physics_dynamic_paint.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
physics_ocean.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
physics_particle_instance.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
physics_particle_system.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
physics_softbody.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
rna_array.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rna_info_dump.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
rst_to_doctree_mini.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
sequencer_render_tests.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
workbench_render_tests.py Workbench: Increase render tests fail threshold for hair. 2022-06-24 14:09:15 +02:00