tweaks to vertex weight limit
- double check def_nr is valid (rare cases it is).
- usability, report how many weights are removed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57099 954f8c5b-7b00-dc11-b283-0030488c597c
improve topology mirror, increase chance of finding unique match.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57100 954f8c5b-7b00-dc11-b283-0030488c597c
fix for confusion switching active group when running mirror (would swich back when toggling editmode if a pose bone was selected).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57101 954f8c5b-7b00-dc11-b283-0030488c597c
Make sure bool will always have the same size in C and C++

There were an issues with data structures defined in headers
and being used by both C and C++ on systems with stdbool
unavailable.

This happened because bool in this case will be defined as
unsigned int, which is 4 bytes. But C++'s bool is only 1
byte and this lead to alignment issues.

Now bool is always 1 byte, also made sure there's no situation
like bool foo = BitField & BitFlag, which could give overflow
issues. Use (BitField & BitFlag) != 0 instead.

Fixes #35553: Compositor broken (Backdrop & Preview)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57102 954f8c5b-7b00-dc11-b283-0030488c597c
workaround for search menu enum using freed python scripts (py api limitation).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57103 954f8c5b-7b00-dc11-b283-0030488c597c
Node options draw function fix for C nodes: use the default button draw function as a fallback if no extended draw function is defined.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57104 954f8c5b-7b00-dc11-b283-0030488c597c
Replacement for the "Active Node" panel in node editor properties sidebar. This panel is now defined in space_node.py instead of node_buttons.c. The properties have been split up into generic properties
(name, label), custom colors (closed by default) and input parameters (extra options + unlinked input socket values).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57105 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own regression in bridge tool since rewrite, UV's were not correctly copied over.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57106 954f8c5b-7b00-dc11-b283-0030488c597c
scene render dimension panal: avoid re-creating the framerate string on every redraw, cache the string for reuse.

also remove redundant returns from my last commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57107 954f8c5b-7b00-dc11-b283-0030488c597c
Reverted a TODO comment from r54429 which disabled the NODE_OPTIONS flag check, so node option buttons could not be disabled at all. This was meant as a workaround to avoid adding do_versions just to set initial NODE_OPTIONS flags on old nodes, but needs a better solution.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57108 954f8c5b-7b00-dc11-b283-0030488c597c
Set the NODE_OPTIONS flag for all nodes by default. If the node type has no options it will be ignored anyway. This makes sure that if options are added to a node type later on there is no need to do a versions patch to update this flag.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57109 954f8c5b-7b00-dc11-b283-0030488c597c
Remove the NODE_OPTIONS flag usage from node->typeinfo. This is a redundant flag which can be replaced by simply checking for nodetype->uifunc/uifuncbut callbacks (if these callbacks are defined the node
type generally supports options). Note that the node->flag still uses NODE_OPTIONS as a switch to toggle the display of such options!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57110 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup: Removed all NODE_OPTIONS flags from C node type definitions, these are no longer required and have no effect. Whether or not a node supports additional options buttons is now determined by the
existence of a draw callback (uifunc and/or uifuncbut).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57113 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35374: Region overlap + bugs

Was missing keymap for REGION_TIMER, which ended up
in missing updates happening.

Added this kind of timer to RNA, so keymaps could
bind to it.

Also made 3ds max keymap working again. Too bad it
was broken in 2.67 and 2.67a :S

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57118 954f8c5b-7b00-dc11-b283-0030488c597c
svn merge ^/tags/blender-2.67b-release/blender -c57122

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57125 954f8c5b-7b00-dc11-b283-0030488c597c
Addition to r57094 by Campbell:

VS 2010 and 2012 have stdint.h so we should use them for consistency instead of defining the inttypes ourselves.
Added if condition for for stdint.h include for >= VS 2010

P.S.: Compiled and tested on VS2008-2012 and MinGW with scons and CMake ;)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57126 954f8c5b-7b00-dc11-b283-0030488c597c
Various fixes to scons for linux:
* Better handling of "multiarch" python stuff (libs also need two different paths).
* Fix Opencollada default paths.

Hopefully this won't break anything...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57127 954f8c5b-7b00-dc11-b283-0030488c597c
Various fixes for install_deps' scons options.
Also svn-ignore BUILD_NOTES.txt generated file.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57128 954f8c5b-7b00-dc11-b283-0030488c597c
Grr, forgot this in r57127... 
BF_PYTHON_INC can contain more than one path (in the mono-string format), don't know how this could not be found earlier, completely broke build of GE on any recent Debian/Ubuntu distro???

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57129 954f8c5b-7b00-dc11-b283-0030488c597c
remove duplicate sys-types headers.
also change define checks in BLI_sys_types.h (was warning a lot in linux about unused defines).


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