Unittest: Layers - include is_disabled for LayerCollection

And remove is_folder since it is not being used.
This commit is contained in:
Dalai Felinto
2017-11-10 12:39:43 -02:00
parent 34c99ee85b
commit 1122a401b0

View File

@@ -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'] = True
data['is_disabled'] = (flag & (1 << 2)) != 0
scene_collection = layer_collection.get_pointer(b'scene_collection')
if scene_collection is None: