Fixed operator_modal_view3d_raycast.py template so that it uses hit points in world space to give correct selection. Also set selected object to active.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53112 954f8c5b-7b00-dc11-b283-0030488c597c
Correction for own commit r53006, removed some ndof keymaps, bad!


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53113 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33598] Regression in 2.65 while opening a 2.64 file

VBO's were using a material limit half the size of the rest of blender.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53114 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix, IRC collection. (Fix for recent commit)

On saving new files (after loading startup.blend), the user prefs were included.
G.fileflags again...



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53115 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33599: VBO textured draw mode did not update correctly when an image filepath
was changed to an invalid one. Also fixed Object Color not being displayed correctly
with VBO's.

The way it has to clear the VBO buffers here is quite poor though and slow, we
really need textures and materials in the depsgraph to do this quicker.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53116 954f8c5b-7b00-dc11-b283-0030488c597c
add index argument to RNA_property_as_string() - currently unused.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53117 954f8c5b-7b00-dc11-b283-0030488c597c
fix for include and use break statement (may as well not loop more then needed).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53118 954f8c5b-7b00-dc11-b283-0030488c597c
some speedup by avoiding translation on entire enum arrays, and just translate the single name that ends up being used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53119 954f8c5b-7b00-dc11-b283-0030488c597c
Nicer function for drawing text in 3d window:

ED_region_visible_rect(ar, rect)
Returns the visible rect inside a region, subtracting the overlapping UI regions.

Added with minimal overhead, only called once per region draw.

Also fixes the 'Auto Key' warning print in 3d window (was behind properties)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53120 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33600: copying objects with point caches did not copy the external,
disk cache and lib path settings.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53121 954f8c5b-7b00-dc11-b283-0030488c597c
functions to make a string representation of a property & assignment.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53122 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for ctrl+click on panel header:
* It collapsed panels in other tabs too
* Ctrl + click next to the panel header still caused panels do be collapsed
* Ctrl + Return over panel header now works as well

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53123 954f8c5b-7b00-dc11-b283-0030488c597c
Class method 'get_node_type' for node RNA types. This can be used to map RNA types and Python classes to the associated node type by means of the node type identifier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53124 954f8c5b-7b00-dc11-b283-0030488c597c
Fix region expander (+) drawing too narrow.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53125 954f8c5b-7b00-dc11-b283-0030488c597c
Blender icons now are in the 21st century too!

Default size for bitmap now is 32x32 pixels. Code change for higher densities is easy,
all under review. Let's first check this!



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53126 954f8c5b-7b00-dc11-b283-0030488c597c
changing RNA properties now prints python script in the info view.

next will add context so bpy.data.xxx[id] are not used for all references.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53127 954f8c5b-7b00-dc11-b283-0030488c597c
fix leak in previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53128 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #33469: cloth preroll had a wrong tooltip and low limit of 200 frames.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53129 954f8c5b-7b00-dc11-b283-0030488c597c
use 'bpy.context' when printing properties in the info window.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53130 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash in own commit - happend when changing userprefs.


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