[Bf-blender-cvs] [075a19049fd] master: Cleanup: Updated Documentation Library Overrides.

Jeroen Bakker noreply at git.blender.org
Mon Mar 29 12:05:12 CEST 2021


Commit: 075a19049fd14fa33eaf731b25db06b3dee2a517
Author: Jeroen Bakker
Date:   Mon Mar 29 12:04:29 2021 +0200
Branches: master
https://developer.blender.org/rB075a19049fd14fa33eaf731b25db06b3dee2a517

Cleanup: Updated Documentation Library Overrides.

===================================================================

M	tests/python/bl_blendfile_library_overrides.py

===================================================================

diff --git a/tests/python/bl_blendfile_library_overrides.py b/tests/python/bl_blendfile_library_overrides.py
index ccb2fcc01c8..e2c6432b380 100644
--- a/tests/python/bl_blendfile_library_overrides.py
+++ b/tests/python/bl_blendfile_library_overrides.py
@@ -104,8 +104,9 @@ class TestLibraryOverrides(TestHelper, unittest.TestCase):
 
         local_id.location.y = 1.0
         local_id.scale.x = 0.5
-        # XXX(jbakker): This change should not applied. But it is as the library
-        #     overrides aren't updated yet. We should expect 1.0
+        # `scale.x` will apply, but will be reverted when the library overrides
+        # are updated. This is by design so python scripts can still alter the
+        # properties locally what is a typical usecase in productions.
         assert(local_id.scale.x == 0.5)
         assert(local_id.location.y == 1.0)



More information about the Bf-blender-cvs mailing list