diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-10 07:44:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-10 07:44:50 +0400 |
commit | 5caf6e9070ce3694b62be9b8599f93d063470dd6 (patch) | |
tree | 69e00a915ba7562a979b0ff4de8f10e30411d6cc /source/blender/editors/include/UI_interface.h | |
parent | 08cc1c6bb96084bcd9e70b19edf9048fffe1fd3d (diff) |
presets now work from non-redo popups,
ended up having to add a new pointer into the uiBlock (which I'd rather have avoided), but setting the uiLayoutSetContextPointer(..) was complicated to properly use for submenus and popus.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 31b47325aa7..cd5fee139ee 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -802,6 +802,7 @@ void UI_buttons_operatortypes(void); uiBut *uiContextActiveButton(const struct bContext *C); void uiContextActiveProperty(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop, int *index); void uiContextActivePropertyHandle(struct bContext *C); +struct wmOperator *uiContextActiveOperator(const struct bContext *C); void uiContextAnimUpdate(const struct bContext *C); void uiFileBrowseContextProperty(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop); void uiIDContextProperty(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop); |