diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-14 15:57:26 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-14 15:57:26 +0400 |
commit | cd202a1a24a7ef1ca396df4e679b240915fbc446 (patch) | |
tree | 1cdc27588f7bfa383d98aeb61abdac61f7b63084 /source/blender/editors/interface/interface_templates.c | |
parent | 3d57e840882486fa8a86ec544eb80691a392aea4 (diff) |
Drivers UI - Converting to Layout Engine
* Converted Drivers UI to mostly use the Layout Engine
* All the buttons that perform actions are not operators yet (the code for that would be quite icky still)
* I've added some (commented out) calls for the property definitions of Driver properties to perform Depsgraph updates. I've left these commented out until we have the option to turn off auto-updates, since with driver editing, that could be very dangerous.
* Drivers can now (in theory) use any ID-block, using the Any-ID template added earlier. However, be warned that the stupid depsgraph won't be able to cope with most of these cases.
TODO:
- more fancy widgets for RNA-Path and Index will come later
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index a7c586be42a..de0d6191f16 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -438,7 +438,6 @@ void uiTemplateAnyID(uiLayout *layout, bContext *C, PointerRNA *ptr, char *propn uiItemL(row, "ID-Block:", 0); /* ID-Type Selector - just have a menu of icons */ - // XXX should value really be 0? uiItemFullR(row, "", 0, ptr, propType, 0, 0, UI_ITEM_R_ICON_ONLY); /* ID-Block Selector - just use pointer widget... */ |