fix for bridge tool selection flushing (after recent api change), also exposed bug in bmesh edgering-subdiv operator.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58649 954f8c5b-7b00-dc11-b283-0030488c597c
fix for joining face selection after recent api change, also bmo_join_triangles_exec() wasn't filling in its 'face' output slot.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58650 954f8c5b-7b00-dc11-b283-0030488c597c
simplify triangle joining and remove use of BLI_array.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58652 954f8c5b-7b00-dc11-b283-0030488c597c
internal api: args passed to ui_but_equals_old() were wrong order.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58654 954f8c5b-7b00-dc11-b283-0030488c597c
fix for writing to freed memory enabling texture node tree


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58655 954f8c5b-7b00-dc11-b283-0030488c597c
fix for possible out of bounds read, printing a warning with pointcache header.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58656 954f8c5b-7b00-dc11-b283-0030488c597c
remove unused code from object convert and indent.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58657 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup for thumbnails:
- use URI_MAX define
- replace strcat with BLI_snprintf.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58658 954f8c5b-7b00-dc11-b283-0030488c597c
fix for possible use of uninitialized variable in pastebuf_match_path_property()
wasn't checking if RNA_path_resolve() succeeded.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58659 954f8c5b-7b00-dc11-b283-0030488c597c
fix for reading outside allocated memory when switching to the 3D view.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58660 954f8c5b-7b00-dc11-b283-0030488c597c
Style Cleanup for r.58659

Use proper RNA API function that was designed to be used in this case instead of
using ugly syntax


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58661 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: Remove unused and unneeded code


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58662 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove redundant NULL checks and avoid writing to the source string.
also rename BLI_replacestr() -> BLI_replacestrN() since it returns an allocated buffer.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58663 954f8c5b-7b00-dc11-b283-0030488c597c
correct sloppy NULL checks, in interface code:
- uiPupMenuBegin was checking for NULL title but would still crash if it were NULL.
- now tag the function as 'nonnull' and remove NULL checks. make sure NULL isnt passed to it.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58664 954f8c5b-7b00-dc11-b283-0030488c597c
cleanup ED_view3d_from_m4() ambiguity with NULL checks, now assert if dist is set up but ofs.
also small optimization for matrix conversion.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58665 954f8c5b-7b00-dc11-b283-0030488c597c
remove unused code & some redundant NULL checks.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58670 954f8c5b-7b00-dc11-b283-0030488c597c
fix for BKE_deform_split_suffix()
- out of bounds read when passing in empty string.
- single character prefix didnt work.
- with no suffix, the string body was truncated.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58672 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove unused code


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