[Bf-blender-cvs] [8a2228a5978] master: Remove debug prints from blendfile_liblink.
Bastien Montagne
noreply at git.blender.org
Tue Feb 18 10:29:08 CET 2020
Commit: 8a2228a59785f898059eb0bafc74c5b5897555eb
Author: Bastien Montagne
Date: Tue Feb 18 10:28:33 2020 +0100
Branches: master
https://developer.blender.org/rB8a2228a59785f898059eb0bafc74c5b5897555eb
Remove debug prints from blendfile_liblink.
rBf35f7bd97a4151 was the proper fix it seems.
===================================================================
M tests/python/bl_blendfile_liblink.py
===================================================================
diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py
index 5c96944446a..7d93d7c8455 100644
--- a/tests/python/bl_blendfile_liblink.py
+++ b/tests/python/bl_blendfile_liblink.py
@@ -23,7 +23,6 @@ class TestBlendLibLinkSaveLoadBasic(TestHelper):
self.ensure_path(output_dir)
output_path = os.path.join(output_dir, "blendlib.blend")
- print("Saving lib blend file to ", output_path)
bpy.ops.wm.save_as_mainfile(filepath=output_path, check_existing=False, compress=False)
bpy.ops.wm.read_factory_settings()
@@ -32,17 +31,12 @@ class TestBlendLibLinkSaveLoadBasic(TestHelper):
link_dir = os.path.join(output_path, "Mesh")
bpy.ops.wm.link(directory=link_dir, filename="LibMesh")
- print("Linked lib blend file from ", link_dir)
- print("lib file path: ", bpy.data.libraries[0].filepath)
-
orig_data = self.blender_data_to_tuple(bpy.data, "orig_data")
output_path = os.path.join(output_dir, "blendfile.blend")
bpy.ops.wm.save_as_mainfile(filepath=output_path, check_existing=False, compress=False)
- print("lib file path after saving: ", bpy.data.libraries[0].filepath)
bpy.ops.wm.open_mainfile(filepath=output_path, load_ui=False)
- print("lib file path after reloading: ", bpy.data.libraries[0].filepath)
read_data = self.blender_data_to_tuple(bpy.data, "read_data")
assert(orig_data == read_data)
More information about the Bf-blender-cvs
mailing list