[Bf-blender-cvs] [fe840e6] alembic_pointcache: 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
Fri Mar 6 18:02:58 CET 2015


Commit: fe840e63656c9da30ea58310a57096bccc416d42
Author: Lukas Tönne
Date:   Fri Mar 6 18:02:09 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rBfe840e63656c9da30ea58310a57096bccc416d42

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