Bugfix, IRC report

(Error in 2.65 release too)

Mac OS X: on closing Blender, it 'flashed', which appeared to be a white window opening
and closing quickly. Caused by code trying to send focus to another opened window, and
accidentally focusing the closed one - causing it to reopen.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52975 954f8c5b-7b00-dc11-b283-0030488c597c
Part of bratwurst GSOC cleanup of subsurf unwrap code: Ommit subsurf
level in the operator and use the modifier level and subdivision type
instead. Using subsurf only makes sense if the modifier is first so
print an warning and turn off if this is not the case.

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

Very occasionally Timer Events could still get handled, after stopping
a timer - especially with the timer event still in the queue.

This patch disables such events. Introduced a EVENT_NONE to make sure
it gets ignored everywhere.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52977 954f8c5b-7b00-dc11-b283-0030488c597c
SCons: added static libs path for OIIO, OCIO and Boost

This should make it easier to write user-config.py

Still not sure how to deal with OSL and LLVM in a nice way, they're currently
using some hacks which didn't support specifying this libraries as static.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52978 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for using active scene instead of actually changed one in some RNA callbacks

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52979 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix, irc report:

Overlapping regions, when you both want them on the same side they should not overlap
each other! (Try F5 on a region to flip position).

Code for subdivision is in need for some cleanup - a branching recursion is needed.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52980 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33522: Crash when "rotate arond selection" is on, and when no object in scene

Own regression in recent fix

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52981 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#33448] Adding Vector Sources for Icons

add additional icons to the svg.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52982 954f8c5b-7b00-dc11-b283-0030488c597c
add assert if both args to invert_m4_m4 are the same.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52983 954f8c5b-7b00-dc11-b283-0030488c597c
SVG Icons - Ported over some of the animation related icons

* Made SVG versions of the NLA solo (star) icons. These are much nicer than the hack 'n slash bitmap versions, but could still do with some polish. The svg is too heavy to do fine tweaks here.

* Ported over the mute/graph-visible icons
* Recreated Drivers icon

* Moved Blender icon from AD1/DA1 to AD16/DA16, as per the trunk icon sheet

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52984 954f8c5b-7b00-dc11-b283-0030488c597c
SVG Icons: Back to screen icon

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52985 954f8c5b-7b00-dc11-b283-0030488c597c
SVG Icons: Frame Next/Prev (used for Motion Tracker controls)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52986 954f8c5b-7b00-dc11-b283-0030488c597c
UV Warp Modifier:
Based on patch [#30837] UV Offset Modifier
by Pawel Kowal (pkowal)

- Allows you to setup a transformation between objects to apply to UV coords.
- Option to select which axis apply to U/V.
- Option to select the UV center (needed for transformations that scale or rotate).
- Uses from/to objects in a similar way to the Warp modifier.
- Vertex group can be used to adjust influence.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52988 954f8c5b-7b00-dc11-b283-0030488c597c
Adding a new SPH solver that is more physically accurate. See patch #29681

    http://projects.blender.org/tracker/index.php?func=detail&aid=29681&group_id=9&atid=127

The solver was mostly implemented by John Mansour at VPAC, with help from me and with funding from the AutoCRC. The SPH formulation is due to Gingold and Monaghan, and the smoothing kernel is due to Wendland.

This solver does not replace the old one; it is available as an option. Note that the new solver uses different units than the old one. The patch page has a couple of attachments that can be used to test the new solver, particularly sphclassical_dam_s0.01_grav.blend (ignore the earlier tests). The simulation in that file compares well with a physical experimental dam break; details in a paper by Changhong Hu and Makoto Sueyoshi, also referred to on that page.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52989 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor edits to the console.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52990 954f8c5b-7b00-dc11-b283-0030488c597c
tweaks to text selection and highlight drawing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52991 954f8c5b-7b00-dc11-b283-0030488c597c
correct scrollbars not working properly with DPI in the console/info view.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52992 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/nativePixel: fix compile for OSX < 10.7

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52993 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33525: Mask points are add offset for the mouse when adding on viewer node with aspect != 1

It was strange logic in code from 2010 which forced image aspect to be 1 for
viewer nodes and render results.

Not sure why it's needed, was only used for unwrapping aspect correction,
but render result/viewer images are already handled differently there.

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