fix [#30729]

custom property add/remove wasnt doing an undo push.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45277 954f8c5b-7b00-dc11-b283-0030488c597c
fix for finding the python exception line number when running a script in the text editor.

- filename comparison was invalid
- was stopping on the first traceback, which would reference the caller but not the error line (when the error was in a function).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45278 954f8c5b-7b00-dc11-b283-0030488c597c
updated add mesh template for bmesh. thanks to PKHG for initial conversion.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45279 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30643] Crasher on entering edit mode with VBOs enabled


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45280 954f8c5b-7b00-dc11-b283-0030488c597c
minor speedup converting a BMesh to a Mesh - avoid loop over all faces to count how many loops to use, since BMesh stores totloop.

also use camel case for UndoMesh (convention)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45281 954f8c5b-7b00-dc11-b283-0030488c597c
partial fix for [#30732] bmesh: loop select continues through hidden sections.

loop cut and edge ring select still need to be fixed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45282 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30732] bmesh: loop select continues through hidden sections.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45283 954f8c5b-7b00-dc11-b283-0030488c597c
missed a check last commit to fix [#30732], face loop was missing hidden check.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45285 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup: move tracking settings to be just after Track panel which makes it easier to
control things during tracking.

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

- Deduplicate patetrn sampling used in esm and lmicklt trackers and
  move SamplePattern to image/sample.h - Move computation of Pearson
  product-moment correlation into own function in new file image/correlation.h
  so all trackers can use it to check final correlation.
- Remove SAD tracker. It's almost the same as brute tracker, with only two differences:
  1. It does brute search of affine transformation which in some cases helps to track
     rotating features 2. It didn't use common tracker api which probably gave some
     speed advantage, but lead to a real headache to use it together with other
     trackers leading to duplicated code in blender side.
- Switch blenedr to use brute tracker instead of sad tracker which tracking made
  source code much more simple to follow.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45287 954f8c5b-7b00-dc11-b283-0030488c597c
Added new command-line arguments --debug-ffmpeg and --debug-libmv to
be able to see debug prints coming from FFmpeg or libmv independently
of general blender debug messages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45288 954f8c5b-7b00-dc11-b283-0030488c597c
patch to add __deepcopy__ to mathutils types, this is no different to __copy__, except some py utilities expect __deepcopy__ to exist, so better have them.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45289 954f8c5b-7b00-dc11-b283-0030488c597c
check from last commit was inverted,


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45290 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30709] Renaming a bone renames all drivers' targets using a bone of that name, regardless of the armature.

This fix adds a "ref_id" ID pointer to BKE_all_animdata_fix_paths_rename() & co, which is the ID against which prefix+oldName/NewName is "applied", currently only used for drivers' bones targets. Just pass NULL to get same behavior as previously. A bit annoying to make such a change for such a specific case, but there seems to be no other way to go... :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45291 954f8c5b-7b00-dc11-b283-0030488c597c
Fix out-of-date slot type sizes.

The BMO_OPSLOT_TYPEINFO array was out of date, the last two entries
were off by one. Updated with correct values and added comments to
make it easier to match up in future.

Also changed the alloc string for mapping slot's ghash to something
more descriptive than "bemsh op".

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45292 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30708: pressing escape in the color picker popup did not reset to the previous color.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45293 954f8c5b-7b00-dc11-b283-0030488c597c
Node socket values now only have soft limits, rather than hard limits, so you
can type in any value, and only when sliding the number value there is a limit.
It was already possible to assign any value to a socket with node linking, so
this shouldn't cause any new issues.

Also raised the limits on the math nodes, with a patch by Agustin Benavidez.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45294 954f8c5b-7b00-dc11-b283-0030488c597c
Image editor: shortcuts 1-key to 8-key for switching between render slots, patch
by Damir Prebeg.

Also changed back J-key slot switching to only cycle through used slots, not used
slots + 1. This is much more useful to compare two renders easily, rather than being
shown an empty slot each time.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45295 954f8c5b-7b00-dc11-b283-0030488c597c
Add BMO function to append to a buffer slot.

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