fix [#36234] Dynamic Topology undo crash


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58463 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: add break statements in switch ()'s, (even at the last case).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58465 954f8c5b-7b00-dc11-b283-0030488c597c
style checker now checks each block ends with break/return/goto/continue or comment /* fall-through */
shows up some suspicious code and false positive rate isnt too bad.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58466 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: depsgraph.c, committing separate since 2 gsoc branches modify.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58467 954f8c5b-7b00-dc11-b283-0030488c597c
fix for unintended fall-through in switch statement, also reduce  undo_pos increments in text editor.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58468 954f8c5b-7b00-dc11-b283-0030488c597c
using shift +/- to dolly with a locked camera now works.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58470 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Remove useless else branch, after recent changes. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58471 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for recent Wlimit stuff, which makes strict gcc freak out

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58478 954f8c5b-7b00-dc11-b283-0030488c597c
snap to cursor (offset option) added for UV's too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58479 954f8c5b-7b00-dc11-b283-0030488c597c
correct switch statement: image_listener NC_GEOM was falling through to NC_OBJECT


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58481 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused text undo print function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58482 954f8c5b-7b00-dc11-b283-0030488c597c
_MSV_VER should be _MSC_VER

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58483 954f8c5b-7b00-dc11-b283-0030488c597c
Fix crash in adding a new mask point after subdividing an inactive spline

add_vertex_extrude relies on active spline for containing an active point


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