diff --git a/source/blender/editors/include/ED_uvedit.hh b/source/blender/editors/include/ED_uvedit.hh index 84897e8101c..d3fd0b699ee 100644 --- a/source/blender/editors/include/ED_uvedit.hh +++ b/source/blender/editors/include/ED_uvedit.hh @@ -266,7 +266,7 @@ const wmTimer *ED_uvedit_live_unwrap_timer(); */ void ED_uvedit_live_unwrap_begin(Scene *scene, Object *obedit, struct wmWindow *win_modal); void ED_uvedit_live_unwrap_re_solve(); -void ED_uvedit_live_unwrap_end(short cancel); +void ED_uvedit_live_unwrap_end(bool cancel); void ED_uvedit_live_unwrap(const Scene *scene, blender::Span objects); void ED_uvedit_add_simple_uvs(Main *bmain, const Scene *scene, Object *ob); diff --git a/source/blender/editors/uvedit/uvedit_ops.cc b/source/blender/editors/uvedit/uvedit_ops.cc index 68f76d6be28..2b1bb808dde 100644 --- a/source/blender/editors/uvedit/uvedit_ops.cc +++ b/source/blender/editors/uvedit/uvedit_ops.cc @@ -185,7 +185,7 @@ void uvedit_live_unwrap_update(SpaceImage *sima, Scene *scene, Object *obedit) if (sima && (sima->flag & SI_LIVE_UNWRAP)) { ED_uvedit_live_unwrap_begin(scene, obedit, nullptr); ED_uvedit_live_unwrap_re_solve(); - ED_uvedit_live_unwrap_end(0); + ED_uvedit_live_unwrap_end(false); } } diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc index 6ae8f6a3686..46f70555315 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc @@ -2118,7 +2118,7 @@ void ED_uvedit_live_unwrap_re_solve() } } -void ED_uvedit_live_unwrap_end(short cancel) +void ED_uvedit_live_unwrap_end(const bool cancel) { if (g_live_unwrap.timer) { wmWindow *win = g_live_unwrap.timer->win;