Files
test/source/blender/editors/include
Chris Blackbourn c2256bf7f7 Fix T90782: add uv pack option to specify margin as a fraction
A refactor of the margin calculation of UV packing, in anticipation
of multiple packing methods soon becoming available.

Three margin scaling methods are now available:

* "Add", Simple method, just add the margin. [0]
    (The default margin scale from Blender 2.8 and earlier.)
* "Scaled", Use scale of existing UVs to multiply margin.
    (The default from Blender 3.3+)
* "Fraction", a new (slow) method to precisely specify
    a fraction of the UV unit square for margin. [1]

The "fraction" code path implements a novel combined search / secant
root finding method which exploits domain knowledge to accelerate
convergence while remaining robust against bad input.

[0]: Resolves T85978
[1]: Resolves T90782

Differential Revision: https://developer.blender.org/D16121
2022-10-12 11:05:34 +13:00
..
2022-07-21 19:01:19 +02:00
2022-06-09 10:11:25 +10:00
2022-10-07 10:41:19 -05:00
2022-09-19 14:52:27 +10:00
2022-05-16 19:46:20 +02:00
2022-09-28 17:54:59 +02:00
2022-09-16 18:14:33 +10:00
2022-09-02 13:18:09 -07:00
2022-10-10 11:22:41 +11:00