Commit: cc8dedf04113c58c1b2ce4d73ddd1d945baa1b46 Author: Campbell Barton Date: Tue May 5 20:42:59 2015 +1000 Branches: ui-preview-buttons https://developer.blender.org/rBcc8dedf04113c58c1b2ce4d73ddd1d945baa1b46
use easily identifiable separator for keys components =================================================================== M release/scripts/modules/bpy/utils/previews.py =================================================================== diff --git a/release/scripts/modules/bpy/utils/previews.py b/release/scripts/modules/bpy/utils/previews.py index 4c69088..639f91d 100644 --- a/release/scripts/modules/bpy/utils/previews.py +++ b/release/scripts/modules/bpy/utils/previews.py @@ -51,7 +51,7 @@ class BPyPreviewsCollection(dict): _previews.release(self._gen_key(name)) def _gen_key(self, name): - return self._coll_name + name + return ":".join((self._coll_name, name)) def new(self, name): return self.setdefault(name, _previews.new(self._gen_key(name))) _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs