fix [#30666] Texturepaint "Soften" brush gets stuck

use derived mesh tessfaces since the mesh doesnt ensure this, also means non-project-painting in the viewport works with modifiers now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45224 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: (dont include ';' in defines), last commit also missed changes to paint_image.c


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45225 954f8c5b-7b00-dc11-b283-0030488c597c
own error r45225
- move defines to the top of the func.
- rename T -> EPS
- undefine at the end.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45226 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: mainly whitespace around operators and indentation - paint/sculpt tools


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45228 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: for creator.c & more useful assert message (file:line)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45229 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30701] bmesh: segfault when ripping partially connected vertices


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45230 954f8c5b-7b00-dc11-b283-0030488c597c
fix for vertex rip

wire edges connected to the vertex would confuse vertex rip.

- was only checking verts first edge had a face,  this is incorrect since other vert-edges may have a face.
- wasn't checking of edges connected to the vertex were hidden.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45231 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: Ctrl+Click extrude - replace inline axis/angle to matrix conversion with a call to axis_angle_to_mat3()



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45232 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30699] blender crashes when dissolving faces

thanks to Francisco De La Cruz for investigating and providing fix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45233 954f8c5b-7b00-dc11-b283-0030488c597c
remove dissolve keybinding, conflicts with draw, add back to delete menu.

dissolve is now 'X -> D'


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45234 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for the node tree nodes.new API function, this wasn't setting the scene and main context pointers in the node template, used by file output node. Also the file output node itself now works in case of scene==NULL (might happen in some contexts).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45235 954f8c5b-7b00-dc11-b283-0030488c597c
print error if rip does nothing (rather then grabbing the unripped verts as it did before)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45236 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: be more strict with operator string formatting, no tabs and only accept slot=%x style.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45237 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: viewport rendered draw mode now shows background images, also changed the
image editor checkerboard pattern to be the same as cycles viewport.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45238 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: add rendered draw mode option in 3d view header to show the active
render layer rather than the viewport layers.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45239 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: add alpha output to image node.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45240 954f8c5b-7b00-dc11-b283-0030488c597c
expose image render_slot so keybindings can be configured to change


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45241 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: shadow pass support. Note that this only takes into account lamps,
emitting objects or world lighting do not contribute to the shadow pass.

Consider this more as a pass useful for some compositing tricks, unlike
other lighting passes this pass can't be used to exactly reconstruct the
combined pass.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45242 954f8c5b-7b00-dc11-b283-0030488c597c
Small cleanup for r45238, remove empty/unused function.

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