BGE fix [#21488] Pumpkin in Gamekit Tutorial flips upside down

A reference was being grabbed when a copy was wanted.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58558 954f8c5b-7b00-dc11-b283-0030488c597c
pasting strips in the sequencer didn't check if they overlap existing strips.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58561 954f8c5b-7b00-dc11-b283-0030488c597c
BGE Fix [#29575] Object not drawn in game engine

Implementing a GetBlenderImage for KX_BlenderMaterial so that modifiers draw correctly in multitexture mode. The preexisting limitation of 1 texture per material on objects with modifiers in multitexture mode still exists.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58563 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36262] Paste strip with video or sound content from another file crashes Blender

existing code was very stupid.

- all ID pointers for clipboard strips are handled uniformly.
- clipboard stores a duplicate ID pointer which are restored on paste.
- restoring pointers...
-- use ID's that are still in the database (copy&paste within the same file).
-- fallback to name lookup.
-- fallback to loading them from the original filepath (movie-clip and sound only).

also fix bug pasting where initialing the sound wasn't done if there was no frame-offset.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58565 954f8c5b-7b00-dc11-b283-0030488c597c
sequencer: replace warning message with assert, was printing when copying masks and movieclips but went by unnoticed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58566 954f8c5b-7b00-dc11-b283-0030488c597c
- add individual origin support for curves and improve the orientation calculations for curve handles,
- add support for using the active point's orientation.
- add support for creating new custom orientations from curves.
- fix error where only the last selected curve handle was taken into account for manipulator orientations.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58573 954f8c5b-7b00-dc11-b283-0030488c597c
curve only supported radius smoothing, add smooth for tilt and weight.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58575 954f8c5b-7b00-dc11-b283-0030488c597c
correct error in last commit, tilt can be less then 0.0


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58576 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use iterator macros, and replace BM_LOOPS_OF_FACE with direct loop access when converting a bmesh to a mesh.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58579 954f8c5b-7b00-dc11-b283-0030488c597c
internal bmesh api change: BM_elem_attrs_copy() no longer copies the selection flag.
this was slowing down modifiers since the selection flags would be copied and flushed to connected geometry.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58580 954f8c5b-7b00-dc11-b283-0030488c597c
dyn-topo: maintain materials for new faces.
also minor optimization for BM_edge_in_face(), check edges radial loops rather then the faces edges
since normally there are 0-2 faces attached to an edge compared to 3+ edges in a face.


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