internal change for ui_mouse_motion_towards_*** use,
only run these checks for buttons using the UI_BLOCK_MOVEMOUSE_QUIT flag.
no functional change but makes debugging easier and was calculating mouse motion in relation to some popups for no reason.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58582 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround [#36269] Crash upon right click on menu and left click on item


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58583 954f8c5b-7b00-dc11-b283-0030488c597c
add api function BLI_path_append to add to a path (and ensure a seperator), replaces BLI_join_dirfile when the dir and the destimation were the same.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58584 954f8c5b-7b00-dc11-b283-0030488c597c
correct problem with limited-dissolve not leaving the selection correctly (caused by BM_elem_attrs_copy no longer dealing with selection)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58590 954f8c5b-7b00-dc11-b283-0030488c597c
triangulate and beauty fill also needed changes to selection handling after recent changes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58592 954f8c5b-7b00-dc11-b283-0030488c597c
optimization: manipulator was looping over all objects on redraw when the active object was being used and it didn't need to.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58593 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36278] X,Y Direction wrong after bpy.ops.view3d.viewnumpad

the cause of the problem was the orientation from the active object was inconstant.
copying the obmat directly gave a different result then getting the normal,tangent from getTransformOrientation and passing to createSpaceNormalTangent.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58596 954f8c5b-7b00-dc11-b283-0030488c597c
adjust createSpaceNormalTangent so it can take values from a matrix without having to negate the plane first.
also add ED_armature_ebone_to_mat3/4 since there were quite a few places that did this inline.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58597 954f8c5b-7b00-dc11-b283-0030488c597c
add missing va_end() calls.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58598 954f8c5b-7b00-dc11-b283-0030488c597c
add missing break to space-buttons listener, also rewind own recent change (uiPopupBlockHandle.retvec size)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58599 954f8c5b-7b00-dc11-b283-0030488c597c
ui: internal change. replace strcat with BLI string functions for key-event drawing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58600 954f8c5b-7b00-dc11-b283-0030488c597c
skip creating the draw-string for number buttons while editing the text (value was overwritten)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58601 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for bad level call introduced in r58597.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58603 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for own commit, stub functions all use the STUB_ASSERT macro now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58604 954f8c5b-7b00-dc11-b283-0030488c597c
fix for face normal flipping calculation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58605 954f8c5b-7b00-dc11-b283-0030488c597c
mesh tool to fill in holes, added in mesh clean menu,
unlike other face creation tools it copies data from surrounding faces.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58606 954f8c5b-7b00-dc11-b283-0030488c597c
error in previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58608 954f8c5b-7b00-dc11-b283-0030488c597c
add twist option to bridge tool (for circular loops)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58609 954f8c5b-7b00-dc11-b283-0030488c597c
BGE Fix [#18804] Shadow type faces cast onto invisible faces (non-GLSL)

Changing the RayHit method to ignore invisible faces

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