fix annoyance noticed at the global-game-jam, adding controllers would remember previous name. Would add 'And' controllers and name them 'Python1' for eg.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54136 954f8c5b-7b00-dc11-b283-0030488c597c
fix for usability issue - navmesh would create the new object on the first layer, rather then the layer of the source object(s).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54137 954f8c5b-7b00-dc11-b283-0030488c597c
BGE Py API docs: correct references to bge.keys


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54138 954f8c5b-7b00-dc11-b283-0030488c597c
[BGE Controllers] reverting my own commits #54103 and #54102, no longer necessary after rev/fix #54136

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54139 954f8c5b-7b00-dc11-b283-0030488c597c
add collision masks to copy-game-physics settings. (another GGJ missing feature :) )


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54140 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for a nasty glicth found by Irie Shinsuke in Freestyle branch.

Headerless panels are not supposed to be closed ever. But if user saves a blend with a stardard panel closed, then dev decides to make this panel headerless, when user open again its blend, the panel is closed and has no more header, so it becomes invisible!

This commit simply checks, at draw time, that a headerless panel is never closed (and repoen it if necessary)!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54141 954f8c5b-7b00-dc11-b283-0030488c597c
add mathutils function to intersect 2 circles. Converted to C from a python script by Alex Fraser.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54142 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Don't show dialog for "Connect" operator

Use redo last panel to change settings now.
This is more in line with how the rest of blender operates.

Also fix tootip

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54143 954f8c5b-7b00-dc11-b283-0030488c597c
use more conventional names in rigid body script.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54144 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for RNA FUNC_REGISTER/FUNC_REGISTER_OPTIONAL flags: The test in bpy validation of classes actually always passed for mandatory functions. This only worked since they all use fallback default implementations internally.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54145 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for errors caused by fixing RNA function register flags. Default UIList class now has a dummy draw_item callback. Panel draw_header is now optional (most panel classes don't define it).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54146 954f8c5b-7b00-dc11-b283-0030488c597c
fix for rigid body assuming active object would be selected, also don't check length of selected objects in poll function (getting and throwing away object selection array on every redraw is no good).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54147 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for the is_registered_optional property of RNA functions, now only returns true for actually optional functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54148 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34018] Delete Edge Loop undo works not als expected.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54149 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for wrong icons buffer initialization happens for cards
without NPOT support. Was wrong stride used for memcpy leading
to wrong memory writes in def_internal_icon.

It's a regression since matcap commit.

Should fix the following reports:
- #33993: Crash on Blender startup (Vista x32)
- #33996: Latest build crashes on win xp

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54150 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34004: crash when canceling ongoing render with scene strip

Issue was caused by recursive call of RE_BlenderFrame. Solved by
reshuffling image pool init/free in do_render_all_options.

Should be harmless, but doublecheck on this is welcome.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54151 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for RNA function flag conflict: FUNC_USE_REPORTS was using same bits as FUNC_REGISTER. Previously errors resulting from this could go unnoticed because of broken FUNC_REGISTER test (all functions considered optional). Watch this in future ...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54152 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: preview rendering support for world/material/lamp.

Patch by Sergey, .blend by Thomas and some further tweaks by me.

Still to solve later: allow external engines to specify own preview .blend, for
now the code here is doing too much magic hacking on the preview scene still.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54153 954f8c5b-7b00-dc11-b283-0030488c597c
Scons:
* Fix for new cycles_preview.blend

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54154 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34023] r54146 breaks name-display of default "UI_UL_list"

draw_item *is* optional (it then uses default C function), even though there is not much sense to register a class without it, except for our default UI_UL_list!

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