Bugfix, irc report:

Crash on running in background mode. Calling GHOST function, but there is 
no GHOST initialized. Easy to skip.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52947 954f8c5b-7b00-dc11-b283-0030488c597c
Can now set a lower bound on the number of subframes (i.e. an upper bound on the time step size) for fluid simulations. Previously, the "subframes" parameter was not available when the adaptive time step was enabled; now they can both be set. The two settings can be used together to greatly increase simulation stability.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52948 954f8c5b-7b00-dc11-b283-0030488c597c
fix another crash from missing update in Auto-Merge from r52911

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


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


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52952 954f8c5b-7b00-dc11-b283-0030488c597c
remove BKE_main_scene_add(), just add main arg to BKE_scene_add()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52953 954f8c5b-7b00-dc11-b283-0030488c597c
remove UI_DPI_FAC, its not needed anymore.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52954 954f8c5b-7b00-dc11-b283-0030488c597c
minor edits
- add BLENDER_QUIT_FILE define.
- use const for passing rcti's in widget drawing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52955 954f8c5b-7b00-dc11-b283-0030488c597c
region overlap feature missed view3d grid-scale text, increase string size for title text too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52956 954f8c5b-7b00-dc11-b283-0030488c597c
image view cursor wasn't scaling up with the DPI


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52957 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33500: when transforming, tapping shift twice and holding did not enable
precision mode. Not really the intended way to use this but it revealed a bug
in the event handling here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52958 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: shuffle addon import statements a bit to try to fix a strange import
error in some builds.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52959 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: on linux, make boost now always require multithreaded libs, disabling
this was a hack for the precompiled libs in svn. Also bumped minimum version
to 1.48 because that's the first version that contains boost::locale.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52960 954f8c5b-7b00-dc11-b283-0030488c597c
FFmpeg: remove limits of bitrate, they were far too low for losless formats like DNxHD

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52961 954f8c5b-7b00-dc11-b283-0030488c597c
fix for sequence size mismatch when loading themes, addition of alpha channel caused themes not to load.


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

- Code for detecting "click inside button panel" was convoluted and detected wrong
  panels even when they were closed.
- Any click inside panels now return "Event Handled", that will prevent events
  being passed on in case of overlapping or transparent button panels.

This is ancient code, will be in on my attention list for further cleaning.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52963 954f8c5b-7b00-dc11-b283-0030488c597c
update themes for added alpha channel


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52964 954f8c5b-7b00-dc11-b283-0030488c597c
disable openmp thread assert, would fail in cases where the caller was locking for its self (sculpt mode)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52965 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33510: Rotate around selection doesn't work when .blend saved in sculpt mode

Issue was caused by calculateTransformCenter not giving any center point in cases
object is in painting mode, which lead to previous offset used for view rotation.

Since this previous offset is a static variable, it'll mean rotation will happen
around scene origin after re-starting blender.

Now made it so viewport rotation will use active object's center as an offset
when active object is in painting mode.

Should behave in more predictable way.

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