Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2015-02-27 18:22:19 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:12:38 +0300
commitaa36820fa2c5be127c3f52042a04fb06309104c3 (patch)
tree7eea025f8cfb1bc7a284b304985bac787dc8e2cd /release
parent26bb16c83346a4f2b5713f92113e99257ede90da (diff)
Delete operator for cache library datablocks.
CacheLibrary datablock has a generic unlink function now, but currently nothing actually links to cache libs themselves, so it's empty. Still good to keep this in mind for the future.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index cf9b13d3ac8..a76bd5fc7dd 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -455,6 +455,7 @@ class SCENE_PT_cache_manager(SceneButtonsPanel, Panel):
sub = row.row(align=True)
sub.alignment = 'RIGHT'
sub.prop(cachelib, "use_fake_user", text="F", toggle=True)
+ sub.operator("cachelibrary.delete", text="", icon='X')
row = layout.row(align=True)
row.alignment = 'LEFT'