fix [#31047] ctrl+mouse select in edit-mode does not select external object
fix [#30535] Shortest Path Select not working well in vertex mode.

regression from after bmesh merge, Ctrl+Right mouse for selecting shortest path is meant for edge mode only.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45824 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31048] converting curve object to mesh makes object disapper from 3D view


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45825 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for image node: has to check the number of actual node sockets before accessing the output data stack, to avoid reading uninitialized memory.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45827 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31049] New Faces (F) always solid shaded


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45828 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: correct typos


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45829 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: multi-line if statements.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45830 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31045]

the blender game engine could reference a freed texface or mcolor array.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45831 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30954] Fluid obstacle checkbox has no effect

Note: Supporting obstacles which can be enabled/disabled as animated propoerty is not likely to happen. So I marked this as "Won't fix"/TODO.
I also reverted last commit on this bug because it didn't work and disabled the property from UI to avoid confusion.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45833 954f8c5b-7b00-dc11-b283-0030488c597c
- fix memory leak in mesh_strip_loose_polysloops(), occurred during 3ds import.
- updating normals in py/api's mesh.transform() wasn't working and gave annoying print, disable this, script authors can call calc_normals explicitly if they need.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45834 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for bug #30219: "Obstacle Simulation of Steering Actuator does not work with added objects"

The steering actuator was filling its m_obstacle member when it was created (i.e., conversion time), which meant it had the wrong pointer after the actuator was replicated. Now m_obstacle is reassigned when the actuator is replicated.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45837 954f8c5b-7b00-dc11-b283-0030488c597c
subsurf - avoid 'for' loop finding the edge index in a face multiple times when calling _face_getIFCoEdge. add asset so passing wrong value errors out in debug mode. gives small speedup to subsurf.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45839 954f8c5b-7b00-dc11-b283-0030488c597c
small speedup to VertDataMulN(av, n), when passed expressions to 'n' they were calculated 3 times, cuts 78 instructions from resulting assembly (gcc -O2).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45840 954f8c5b-7b00-dc11-b283-0030488c597c
Missed this file in my last commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45841 954f8c5b-7b00-dc11-b283-0030488c597c
Ctrl+RMB to select an object in editmode didnt work in edge mode (which is not great usability imho and confusing),
now pass through if no edges can be tagged and select the object.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45842 954f8c5b-7b00-dc11-b283-0030488c597c
correction to py docs from mgschwan on IRC.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45843 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh py api: expose BM_face_split_n() to the python api;
 face_fill(..., coords=(v1, v2, ...))

This is the same function the knife tool uses. should be handy for dicing up geometry in py.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45844 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: LESS must be VERSION_LESS for XCODE_VERSION

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