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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user