diff options
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 17 | ||||
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
2 files changed, 12 insertions, 7 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index e027efce1d3..cd25ee54392 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -370,12 +370,17 @@ bool ED_object_modifier_remove(struct ReportList *reports, struct Object *ob, struct ModifierData *md); void ED_object_modifier_clear(struct Main *bmain, struct Object *ob); -int ED_object_modifier_move_down(struct ReportList *reports, - struct Object *ob, - struct ModifierData *md); -int ED_object_modifier_move_up(struct ReportList *reports, - struct Object *ob, - struct ModifierData *md); +bool ED_object_modifier_move_down(struct ReportList *reports, + struct Object *ob, + struct ModifierData *md); +bool ED_object_modifier_move_up(struct ReportList *reports, + struct Object *ob, + struct ModifierData *md); +bool ED_object_modifier_move_to_index(struct ReportList *reports, + struct Object *ob, + struct ModifierData *md, + const int index); + int ED_object_modifier_convert(struct ReportList *reports, struct Main *bmain, struct Depsgraph *depsgraph, diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 01bc59f71e7..11dbb105072 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -2002,7 +2002,7 @@ void uiTemplatePathBuilder(uiLayout *layout, const char *propname, struct PointerRNA *root_ptr, const char *text); -uiLayout *uiTemplateModifier(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr); +void uiTemplateModifiers(uiLayout *layout, struct bContext *C); uiLayout *uiTemplateGpencilModifier(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr); void uiTemplateGpencilColorPreview(uiLayout *layout, struct bContext *C, |