diff options
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 17 |
1 files changed, 11 insertions, 6 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, |