fix 2 bugs with reset-default failing on operators redo panel.
- The operator its self was registered so resetting the defaults would unhelpfully replace the toolbar with the reset to defaults operator panel. - The callback for the operator wasnt being used so the settings were changed but the operator didnt re-run.
This commit is contained in:
@@ -787,6 +787,7 @@ void UI_buttons_operatortypes(void);
|
||||
|
||||
/* Helpers for Operators */
|
||||
void uiContextActiveProperty(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA **prop, int *index);
|
||||
void uiContextActivePropertyHandle(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