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-03 14:01:27 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:12:38 +0300
commit70a5fccfb4fb38cba6c18e6edf0411f9017f0851 (patch)
tree42d8533afd2fc08cbedd3078b2eabaae00d562eb /source/blenderplayer
parent3e4cf67ef45d27eb7d87edfba6683a3001816979 (diff)
Use a uiTemplate function for showing cache library items instead of
python code to unify symbols. This is necessary because the operator for adding new items (as opposed to the enable/disable button) cannot be shown with the same checkbox button. The UI template function can display a custom button for the operator, so the look becomes less confusing.
Diffstat (limited to 'source/blenderplayer')
-rw-r--r--source/blenderplayer/bad_level_call_stubs/stubs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c
index 893eae8485a..bbacf8745e3 100644
--- a/source/blenderplayer/bad_level_call_stubs/stubs.c
+++ b/source/blenderplayer/bad_level_call_stubs/stubs.c
@@ -584,6 +584,8 @@ void uiTemplateColormanagedViewSettings(struct uiLayout *layout, struct bContext
void uiTemplateComponentMenu(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name) RET_NONE
void uiTemplateNodeSocket(struct uiLayout *layout, struct bContext *C, float *color) RET_NONE
void uiTemplatePalette(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, int color) RET_NONE
+struct uiLayout *uiTemplateCacheLibraryItem(struct uiLayout *layout, struct bContext *C, struct CacheLibrary *cachelib,
+ struct Object *ob, int type, int index, int enabled) RET_NULL
/* rna render */
struct RenderResult *RE_engine_begin_result(RenderEngine *engine, int x, int y, int w, int h, const char *layername) RET_NULL