Bugfix for a recent commit: live unwrapping behaved badly because
[blender-staging.git] / source / blender / src / parametrizer.c
index 22acc2102627602bca9baf435d2a36d949738236..c3b31613dd9e4a7bf2bc2db33bc732e1392074fe 100644 (file)
@@ -4137,7 +4137,7 @@ void param_lscm_solve(ParamHandle *handle)
                if (chart->u.lscm.context) {
                        result = p_chart_lscm_solve(chart);
 
-                       if (result)
+                       if (result && !(chart->flag & PCHART_NOPACK))
                                p_chart_rotate_minimum_area(chart);
 
                        if (!result || (chart->u.lscm.pin1))