add back game engine python api slicing, (was missing / regression, since move to py3x)

not many people must have used it since it would crash with non-zero start slice values.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50895 954f8c5b-7b00-dc11-b283-0030488c597c
fix for very bad bug with python list slicing which - in bmesh and bpy api for all? 2.5x + releases.

negative stop values when slicing was broken. eg.
 bpy.data.objects[0:-2] != list(bpy.data.objects)[0:-2]


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50896 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32661] Grease Pencil in Camera View

Regression since 2.63a release.

own fault in r49996, though code was confusing - using rcti struct for offset+width.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50897 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32663: Sculpt masks are too dark

Scaled mask multiplier to 0.25..1.0 instead of 0.0..1.0.

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

Timeline didn't update after deleting keyframes using Alt-I in the 3D View (i.e.
after ANIM_OT_keyframe_delete_v3d)


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

Disable color picker button only if color block is invoked from another popup.

Only in this case color picking will fail. Valid RNA path isn't required for
this, only RNA pointer in button is needed.

This solves issue with missing color picking in user preferences.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50900 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32091: Crop and offset coordinates changes proxy render settings on image strips

Made offset and crop working in final resolution space, meaning that visual result
would be the same when using different proxy resolution in sequencer preview and
different resolution percentage when rendering.

It could break some files designed to with render percentage not equal to 100%
using wrong image crop and offset values. But this would also make it easier to
setup scene and render it with different percentage (useful for preview renders
for example)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50901 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32665] Inconsistent Circle Mesh Edge Subdivision


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50902 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32666: Memory Cache Limit stops working after set to 2048

Solved two issues here:

- RNA update function for cache limiter wasn't type-casting to size_t
  type, which lead to long int overflow.

- Display buffer size in color management wasn't calculated properly,
  ended up with much more extra memory usage than it's needed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50903 954f8c5b-7b00-dc11-b283-0030488c597c
fix for eternal loop in recursive_operation()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50906 954f8c5b-7b00-dc11-b283-0030488c597c
Remove unneeded null-check: display settings should always be valid after IMB_colormanagement_check_file_config

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50907 954f8c5b-7b00-dc11-b283-0030488c597c
Color Management: resolve warnings when OCIO configuration file misses None display

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50908 954f8c5b-7b00-dc11-b283-0030488c597c
Color Management: restore abort() in cases of error and WITH_ASSERT_ABORT enabled

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50909 954f8c5b-7b00-dc11-b283-0030488c597c
Fixed typo in previous commit!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50910 954f8c5b-7b00-dc11-b283-0030488c597c
fix for cycles/python script error in normal panel


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50912 954f8c5b-7b00-dc11-b283-0030488c597c
incorrect spelling in comments


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50913 954f8c5b-7b00-dc11-b283-0030488c597c
correct debug/test assignment being left in the UI_view2d_smooth_view() so it always recalculated.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50914 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: also correct incorrect doxy heading


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50916 954f8c5b-7b00-dc11-b283-0030488c597c
minor change for sculpt undo, was getting the derived-mesh before calling sculpt_update_mesh_elements().
also add NULL check for BKE_key_from_object(), to avoid unlikely but possible NULL pointer dereference.


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