style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56156 954f8c5b-7b00-dc11-b283-0030488c597c
simple optimization, replace BM_face_other_edge_loop() with BM_loop_other_edge_loop() in situations where the loop is known this avoids a lookup.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56157 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove unused vars in edge slide, only store the initial vertex coords rather then a copy of the whole vertex, name edge slide directions a/b rather then up/dowb.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56158 954f8c5b-7b00-dc11-b283-0030488c597c
fix for incorrect edge loop slide direction when one of the loop sides was lost walking around the loop.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56159 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: edge slide, avoid building BVH tree, more logical var names.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56160 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for bug reported by Dalai Felinto on IRC, crash in blenderplayer after r56055. The ntreeUpdateTree function uses G.main, which is not defined in blenderplayer (NULL). Using G.main is in itself an ugly hack required for the node verification. Just added a sanity check for now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56161 954f8c5b-7b00-dc11-b283-0030488c597c
Merge commit 'afccabf612ede31ef7e45b817aa706642613dc45' into oceanviz