Page MenuHome

[WIP] UI: Add support for Faces Attribute Correction via buttons
Needs ReviewPublic

Authored by Germano Cavalcante (mano-wii) on Aug 1 2020, 2:57 AM.

Details

Summary

Now that we have an option for "Correct Face Attributes", a very demanding
request is that this option also works with buttons.

This patch proposes this, but it has a problem:
Since it is not possible to find out when the callback of the button will
be last called, it is not possible to store a cache to correct face attributes.

Because of this, the cache is created and freed with each call which is highly
inefficient and loses a lot of precision.

Perhaps the most ideal is to create another customdata with the original values
from the bmesh coordinates. And every time a math customdata is requested, the
correction is made based on the original coordinates.

(But that would be a lot of work).

Diff Detail

Repository
rB Blender
Branch
bm_interp_transform (branched from master)
Build Status
Buildable 9295
Build 9295: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Aug 1 2020, 2:57 AM
Germano Cavalcante (mano-wii) created this revision.