Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python/bl_blendfile_library_overrides.py')
-rw-r--r--tests/python/bl_blendfile_library_overrides.py5
1 files changed, 3 insertions, 2 deletions
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)