Fix for truncation of 64-bit CustomDataMasks.

Can't use GET_INT_FROM_POINTER anymore with CD masks, as this
truncates to 32-bit.

Bug: http://projects.blender.org/tracker/index.php?func=detail&aid=30680&group_id=9&atid=498
CR: http://codereview.appspot.com/5905059/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45186 954f8c5b-7b00-dc11-b283-0030488c597c
Renaming pt_BR to pt, as a recent reform [1] made most country speaking portugese use a same, common version of it, which we want to use here.

[1] http://www.reformaortografica.com/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45187 954f8c5b-7b00-dc11-b283-0030488c597c
Fix run-time warning of freeing null pointer in array modifier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45188 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for position of array-modifier end cap when not using a fixed count.

Moved calculation of final offset so that correct count value has been set.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45190 954f8c5b-7b00-dc11-b283-0030488c597c
quiet some warnings for gcc 4.7


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45191 954f8c5b-7b00-dc11-b283-0030488c597c
Clean-up logic of behavior of refresh/reload operators in sequencer

After discussion with Campbell we found much nicer solution which
keeps operation with data much more clear:

- Refresh Sequencer is totally harmless, do not touch actual data
  and just removes everything from cache
- Reload Strip will reload data and adjust it's length for all
  selected strips without affecting on length of strip itself
- Reload Strip and Adjust length will do the same but will also
  adjust length of strip itself.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45192 954f8c5b-7b00-dc11-b283-0030488c597c
Return back sfra property to Sequence structure to prevent data loose
until things discussing in #30663 will be resolved.

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


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45195 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.

problem was that BMesh had tessellation call when undo pushes were called.

if python called an operator with no undo push, tessfaces would not be created.

fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph.
added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45196 954f8c5b-7b00-dc11-b283-0030488c597c
use cmake WITH_MOD_ * to exclude include paths which are not used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45197 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: wm, mosyly adding space around ops


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45198 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todo, unlikly but possible - entering editmode with faces and no polys.

rather then printing a warning and failing - convert them to polys.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45199 954f8c5b-7b00-dc11-b283-0030488c597c
fix error in last commit


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45201 954f8c5b-7b00-dc11-b283-0030488c597c
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45202 954f8c5b-7b00-dc11-b283-0030488c597c
fix for undoMesh_to_editbtMesh not setting BMEditMesh.ob field.

error found by XercesBlue on IRC


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45204 954f8c5b-7b00-dc11-b283-0030488c597c
reload_sequence_new_file now works with movie clip strips as well

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