Files
test/source/blender/modifiers/intern
Bastien Montagne 53b7078343 Fix [#30234] Various problems with CD layers and tesselation, related to modifiers stack.
Should also fix [#30266], [#29451], and partly [#30316].

Here are the changes made by this commit:
* It adds a "dirty" flag to DerivedMesh struct (for now, only DM_DIRTY_TESS_CDLAYERS, but more might be added as needed).
* It adds a new func, DM_update_tessface_data, which assumes tessfaces themselves are valid, but updates tessellated customdata from their poly/loop counter parts.
* At end of modstack, when valid tessellated faces are present in finaldm , but the cdlayers dirty flag is set, call that function (instead of recomputing the whole tessellation).
* Edits to the codes concerned (UVProject, DynamicPaint, and Subsurf modifiers).
* Also add to subsurf dm generation code the creation of a CD_POLYINDEX layer (mandatory for DM_update_tessface_data to work well, and imho all tessellated dm should have one).

Note: some pieces of old code are just #if 0’ed, will clean them later.
2012-03-18 22:06:57 +00:00
..
2012-03-18 07:38:51 +00:00
2012-03-18 07:38:51 +00:00
2012-03-09 18:28:30 +00:00
2012-03-09 18:28:30 +00:00
2012-03-18 07:38:51 +00:00
2011-11-29 10:54:47 +00:00
2012-03-09 18:28:30 +00:00
2012-03-18 07:38:51 +00:00
2012-03-09 18:28:30 +00:00
2012-03-18 07:38:51 +00:00
2012-03-09 18:28:30 +00:00
2012-02-27 13:47:53 +00:00
2012-03-18 07:38:51 +00:00
2012-03-18 07:38:51 +00:00
2012-03-18 07:38:51 +00:00