spherical panoramic fix
note: this was never correct and not a single soul bothered noticing that.
not really a surprise, this mode is more for debug than for anything else.
to test go to (game engine) Render -> Dome Mode -> Spherical Panorama

thanks to Aldo Zang to help me spotting the problem.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45431 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45433 954f8c5b-7b00-dc11-b283-0030488c597c
update python keywords (remove exec, print, add nonlocal)


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45435 954f8c5b-7b00-dc11-b283-0030488c597c
fix crash with stack memory usage for the knife tool.
knife cutting ~25000 faces would crash with 8mb stack set.

fix by removing generic iterators in functions which do recursive calls.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45436 954f8c5b-7b00-dc11-b283-0030488c597c
some pedantic load time speedup by not loading modules (math and subprocess in this case)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45437 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: add doxygen headers to bmesh operator files, also add own include so definitions dont get out of sync.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45438 954f8c5b-7b00-dc11-b283-0030488c597c
Ghost:
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45439 954f8c5b-7b00-dc11-b283-0030488c597c
option to have inset face select the interior faces (mango request)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45440 954f8c5b-7b00-dc11-b283-0030488c597c
Windows x64 / Scons:
* Enable WITH_BF_OPENJPEG per default, it was enabled for 32 bit systems, why not on x64? 
* This brings back JPEG 2000 support for win x64.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45441 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.

Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45442 954f8c5b-7b00-dc11-b283-0030488c597c
Animation version patching for Absolute Shape Keys ("speed" curve ->
"eval_time") now works


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45443 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh minor change - avoid increasing array sizes one by one and use iterator macros.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45444 954f8c5b-7b00-dc11-b283-0030488c597c
Smoke: Use better standards for inflow
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45445 954f8c5b-7b00-dc11-b283-0030488c597c
Smoke: Fix for last commit; It wasn't possible to change the particle system settings anymore. Reported by zeauro. Thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45447 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: fix nan's generated by glossy BSDF in some cases.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45448 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30798: when linking a datablock, it got simply added to the back of the
list, now the linked datablocks are sorted by name too (but still appear after
the non-linked datablocks).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45449 954f8c5b-7b00-dc11-b283-0030488c597c
Temporary gzopen fix for for Windows
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName.

Strangely zlib fails on gzclose if file descriptors are used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45450 954f8c5b-7b00-dc11-b283-0030488c597c
dont display any file as a preset in the menu (limit to *.py, *.xml)

backup files like .py~ for eg had their own menu entries which got annoying.

added optional filter_ext function callback argument to Menu.path_menu() to avoid displaying invalid types.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45453 954f8c5b-7b00-dc11-b283-0030488c597c
Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
-
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"


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