Style cleanup in sculpt.c, no functional changes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44964 954f8c5b-7b00-dc11-b283-0030488c597c
== Sequencer ==

Fix for:
[#29758] Sequencer `Image Offset` error with render percentage

also:
* make preprocess parameters completely independent from render resolution
  (they are always relative to *final* resolution now)
* fix yesterdays fix for proxy resolution rendering (the case of unbuild
  proxies wasn't handled correctly)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44965 954f8c5b-7b00-dc11-b283-0030488c597c
== Sequencer ==

Fixes typos in RECORD_RUN_NO_GAPS timecode description.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44966 954f8c5b-7b00-dc11-b283-0030488c597c
Use enums for brush flags and sculpt tools.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44967 954f8c5b-7b00-dc11-b283-0030488c597c
Rename 'clay tubes' to 'clay strips' and include it in the capabilities RNA.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44968 954f8c5b-7b00-dc11-b283-0030488c597c
Re-enable the clay strips sculpt brush.

Most of the tool code was already in place, only significant
functionality change is that anchored stroke works now.

TODO:
* Gave it a new icon, but could use a better one
* Default .blend should have a clay strips brush

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44969 954f8c5b-7b00-dc11-b283-0030488c597c
Allow dropping image files from outside blender, or image datablocks from inside blender to the shader and texture node editors, to add an image node. Earlier this was possible only for compositing node editor.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44970 954f8c5b-7b00-dc11-b283-0030488c597c
Release cycle
* BCon3: Beta. Ongoing module work, bug fixes and polishing features. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44971 954f8c5b-7b00-dc11-b283-0030488c597c
== Sequencer ==

Small fix for the last fix. Mixed up x and y scale... oh dear.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44973 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30588] "select/deselect all"-menu for lattice doesn't default to TOGGLE

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44974 954f8c5b-7b00-dc11-b283-0030488c597c
Grumph, more fixes in this Select menu (Invert had default op name for metaball and particules...). Also fixed "(De)select All" name of particule op.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44975 954f8c5b-7b00-dc11-b283-0030488c597c
lattice & UV 'select all' menu items were missing action assignment.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44976 954f8c5b-7b00-dc11-b283-0030488c597c
"Fix" for [#30098] Particle rotation wrong / explode modifier
- The main problem was that in order to be accurate all particle
  rotations have to be calculated incrementally so the only working
  solution is to store rotations to the point cache (previously
  this was only done for dynamic rotations). This can nearly double
  the point cache size so it's not ideal to have this as a default
  as in many cases you don't care about particle rotations.
- Particle rotation panel now has a new "enable" checkbox that
  enables rotation calculations and the storing of rotations to
  point cache.
- Old files will have rotations enabled via do_versions so that in
  the worst case old files will only get bigger point caches, but no
  sudden loss of particle rotations.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44977 954f8c5b-7b00-dc11-b283-0030488c597c
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44978 954f8c5b-7b00-dc11-b283-0030488c597c