code cleanup: remove unused var from drawobject  'warning_recursive'. also remove unused colors from 'colortab'.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56176 954f8c5b-7b00-dc11-b283-0030488c597c
fix for glitch in object drawing, color of texspace was last used editmode draw color.
also disable BGE bounds drawing when outside of object mode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56177 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: simplify python rigidbody operators.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56178 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor improvements to scripts.
- make wm-property operators use INTERNAL option.
- make console use str.expandtabs() rather then replacing tab->spaces.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56179 954f8c5b-7b00-dc11-b283-0030488c597c
Forgot disable else and it became: else /* */ break;
Caused a crash on Windows on alt-key when a tablet was plug in.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56180 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35025] Mesh Debug samples strange behavior


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56181 954f8c5b-7b00-dc11-b283-0030488c597c
skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in smallhash.c


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56182 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34846, Node->Ungroup menu entry is broken. The standard node group operators now don't require the node_type string property any more. They are limited to the Shader, Compositing and Texture node tree types and will pass through for other (pynodes) tree types. Associated node group types are hardcoded.

The original rationale for adding the node_type property was to allow node group operators work generically on any node group type automatically. The problem is that detecting the appropriate node group type and node tree type to use for a group depends on using a node base type. Due to the fact that RNA does not allow multiple inheritance (mixin classes) this is impossible to achieve if node types also have to use a base type such as ShaderNode, CompositingNode or TextureNode.

The idea is now to just "make it work" by limiting the node group operators to the standard tree types. For future pynodes we can implement these operators nicely in Python, which will allow pynodes to use mixin base classes or derive their own operator types and re-use the same keymapping.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56183 954f8c5b-7b00-dc11-b283-0030488c597c
revert own change from 56177, game bounds can be useful to see in editmode,
also use gcc attributes for smallhash header and some style edits to recent commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56184 954f8c5b-7b00-dc11-b283-0030488c597c
Removed the group_tree_idname property from node types. This was a bit of a hack to associate node group types to specific tree types for node group operators. Since the node group operators now work independent from this property (see r56183) that property is no longer needed and just pollutes the bNodeType struct.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56185 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for a crash due to uninitialized local Main (introduced in revision 56127).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56186 954f8c5b-7b00-dc11-b283-0030488c597c
Minor code clean-up & removal of unused code segments.

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