[Bf-blender-cvs] [00edf75] gooseberry: Fix for cache item filtering: items can be part of the cache library but disabled, in that case hide them as well.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:02:48 CET 2015


Commit: 00edf75a62290c10dfa22359c843fa3bc47e9f7f
Author: Lukas Tönne
Date:   Fri Mar 6 18:02:09 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB00edf75a62290c10dfa22359c843fa3bc47e9f7f

Fix for cache item filtering: items can be part of the cache library
but disabled, in that case hide them as well.

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

M	release/scripts/startup/bl_ui/properties_scene.py

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

diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 5dd9c5b..10caebc 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -449,7 +449,7 @@ def cachelib_object_items(cachelib, ob, filter_types = []):
         show = False
         enable = False
         # always show existing items
-        if item:
+        if item and item.enabled:
             show = True
             enable = True
         # always show selected types




More information about the Bf-blender-cvs mailing list