blender/source
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
..
blender Fix [#30234] Various problems with CD layers and tesselation, related to modifiers stack. 2012-03-18 22:06:57 +00:00
blenderplayer Add stub needed for blenderplayer compilation. 2012-03-05 17:23:52 +00:00
creator spelling cleanup 2012-03-18 07:38:51 +00:00
darwin
gameengine spelling cleanup 2012-03-18 07:38:51 +00:00
icons
tests spelling cleanup 2012-03-18 07:38:51 +00:00
CMakeLists.txt
SConscript