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-03-19 12:47:03 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-19 12:47:03 +0300
commit97410d71b3db0a678399d82eea7172e6821c46c8 (patch)
treea7523c29b2c47e3a3d6201b405138730ececc727 /source/blender/editors
parent5d04ddea642f0fcd0bfdc102b916890601aa78f5 (diff)
UI cleanup and a bit nicer workflow by treating read/write mode like
an enum toggle.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/io/io_cache_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_cache_library.c b/source/blender/editors/io/io_cache_library.c
index b946a4dec0b..1cf7fda270f 100644
--- a/source/blender/editors/io/io_cache_library.c
+++ b/source/blender/editors/io/io_cache_library.c
@@ -231,7 +231,7 @@ static int cache_library_bake_poll(bContext *C)
/* re-baking cached results doesn't make much sense,
* clarify workflow by enabling either reading or writing, but not both
*/
- if (ob->transflag & OB_DUPLI_USE_CACHE)
+ if (ob->transflag & OB_DUPLI_READ_CACHE)
return false;
return true;