code cleanup: remove/comment some unused code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45705 954f8c5b-7b00-dc11-b283-0030488c597c
add import operator python template.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45706 954f8c5b-7b00-dc11-b283-0030488c597c
remove the poll function from import/export templates


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45707 954f8c5b-7b00-dc11-b283-0030488c597c
move rip out into its own file


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45709 954f8c5b-7b00-dc11-b283-0030488c597c
Fix crash with texture draw in edit mode after commit 45672.

Don't create empty tesselated faces layers in edit derivedmesh, these are
being created on the fly so this will conflicted, and use loop data for
opengl attributes for edit derivedmesh drawing.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45710 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #30982: dupliface object with modifiers did not show duplis correct
while in edit mode.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45713 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30980: edge slide Correct UVs option not working.

Was a bmesh todo, main issue was with shape keys, now disabled any changes to
the shape key data layer, and disabled the option altogether when editing
non-basis shape keys.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45714 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30977: error loading modal keymaps from keyconfiguration presets.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45715 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api: adjust bmesh_vert_separate() not to set the loops index values (need them to be left untouched for other tools).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45716 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30570: UI issue editing modal keymaps below operators using them.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45717 954f8c5b-7b00-dc11-b283-0030488c597c
Fix blenderplayer build, added stub.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45719 954f8c5b-7b00-dc11-b283-0030488c597c
Attempted fix for #30985: knife draw messing up display after confirming. I couldn't
redo the problem, but the depth test toggle here should be conditional as in other
3d view drawing code.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45720 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30970] Rip Tool: selecting the side of edges works incorrectly 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45722 954f8c5b-7b00-dc11-b283-0030488c597c
fix error in single vertex ripping where the edit-selection could be left on unselected verts or not set on the newly ripped vertex.

also some corrections to comments.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45723 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use const args for writing files.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45725 954f8c5b-7b00-dc11-b283-0030488c597c
save thumbnail from the 3D view if no camera is present.


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