Fix memory leak when trying to apply transformations to shared meshes


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46802 954f8c5b-7b00-dc11-b283-0030488c597c
BMesh Py API Fix: hide attribute of BMesh elements was returning the select flag. Fixed for all elements including loops, although this is commented out anyway. Reported by Crouch in IRC.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46803 954f8c5b-7b00-dc11-b283-0030488c597c
Various small fixes:
*i18n: panel title of current tool in 3D view & File windows are now translated, as well a redo (F3) menu.
*MESH_OT_faces_select_linked_flat & MESH_OT_edges_select_sharp: use ANGLE RNA prop for sharpness, and fix tip of the later op.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46804 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug #31529 Remesh remove Apply as Shape button

Change modifier_sameTopology() to not not treat Nonconstructive
modifiers as having same topology. This function is only used to test
whether Apply as Shape is allowed.

The exact nature of "nonconstructive" modifiers is not documented, but
current list is remesh, fluidsim, decimate, mask, build, and
boolean. All of these modify topology, and should not be making making
shape keys.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46805 954f8c5b-7b00-dc11-b283-0030488c597c
Sequencer UI:
* Some consistency tweaks.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46809 954f8c5b-7b00-dc11-b283-0030488c597c
Renamed the COLLADA Import/export labels to 'Collada (Default)' to make it better separatable from target specific exporters

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46815 954f8c5b-7b00-dc11-b283-0030488c597c
use utf8 functions for new modifier names


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46816 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup:
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46818 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31511: GLSL preview is much darker than F12 results

A problem caused by Harmony branch code. A value was being set improperly for the GLSL shader.

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


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

This fixes occasional crashes on uninitialized memory, when we open a blend 
file which has movie or image input nodes pointing to none existent 
source files.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46823 954f8c5b-7b00-dc11-b283-0030488c597c
readfile.c Style cleanups  Part 2 - More whitespace + replaced most of the while
loops


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46825 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup:
- remove duplicate includes
- blender builds with -Werror in C++ for fluids/smoke


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46826 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error pointed out by Nicholas Bishop, BM_edge_face_pair & BM_edge_loop_pair returned TRUE for single face user edges.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46830 954f8c5b-7b00-dc11-b283-0030488c597c
py api integration: __import__(... , level=0)
  default changed to work with python3.3


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46831 954f8c5b-7b00-dc11-b283-0030488c597c
Quiet null pointer free warning/error.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46832 954f8c5b-7b00-dc11-b283-0030488c597c
fix for minor annoyance when an operator is called by another - dont add blend file to recent history.

this way demo-mode addon doesnt clobber the recent history with demo files its operator loads.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46833 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove some old comments


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46834 954f8c5b-7b00-dc11-b283-0030488c597c
fix for unlikely but possible use of uninitialized pointers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46836 954f8c5b-7b00-dc11-b283-0030488c597c
fix for fix - possible on second loop to use freed memory still.


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