Commit: d9b89ca0d0c8ad87e59994ad2c8a546614f75bdb
Author: Dalai Felinto
Date:   Fri Mar 31 17:13:16 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBd9b89ca0d0c8ad87e59994ad2c8a546614f75bdb

Layers unittest: Fix tests breaking since Folded was removed

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

M       tests/python/render_layer/render_layer_common.py

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

diff --git a/tests/python/render_layer/render_layer_common.py 
b/tests/python/render_layer/render_layer_common.py
index 892fcec1640..faaefd6b8ed 100644
--- a/tests/python/render_layer/render_layer_common.py
+++ b/tests/python/render_layer/render_layer_common.py
@@ -25,7 +25,7 @@ def get_layer_collection(layer_collection):
 
     data['is_visible'] = (flag & (1 << 0)) != 0
     data['is_selectable'] = (flag & (1 << 1)) != 0
-    data['is_folded'] = (flag & (1 << 2)) != 0
+    data['is_folded'] = True
 
     scene_collection = layer_collection.get_pointer(b'scene_collection')
     if scene_collection is None:

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to