diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 08:27:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 09:59:36 +0300 |
commit | 64d4e722a08465b0a16e6ee73d015b6a377127b1 (patch) | |
tree | 801f90ec170958b3f95dc2b13c1c23d03501b75b /source/blender/editors/uvedit/uvedit_parametrizer.h | |
parent | 8adeab4b0ea68f7d1f51c77536fed6d24bb3bd1e (diff) |
UV: warn when unwrapping fails
Report an error when unwrapping can't solve some UV islands,
note that edge-seams may need to be set.
Address T86936
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.h')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_parametrizer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.h b/source/blender/editors/uvedit/uvedit_parametrizer.h index 2427e589833..e69ce360e61 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.h +++ b/source/blender/editors/uvedit/uvedit_parametrizer.h @@ -59,7 +59,10 @@ void param_face_add(ParamHandle *handle, void param_edge_set_seam(ParamHandle *handle, ParamKey *vkeys); -void param_construct_end(ParamHandle *handle, ParamBool fill, ParamBool topology_from_uvs); +void param_construct_end(ParamHandle *handle, + ParamBool fill, + ParamBool topology_from_uvs, + int *count_fail); void param_delete(ParamHandle *handle); /* Least Squares Conformal Maps: @@ -74,7 +77,7 @@ void param_delete(ParamHandle *handle); */ void param_lscm_begin(ParamHandle *handle, ParamBool live, ParamBool abf); -void param_lscm_solve(ParamHandle *handle); +void param_lscm_solve(ParamHandle *handle, int *count_changed, int *count_failed); void param_lscm_end(ParamHandle *handle); /* Stretch */ |