Fix [#37085] Hook modifier work when created with Ctrl+H, but not when created via modifier panel

"transform matrix" of the hook was not inited (reset) when assinging and object to it, now use same code for both OBJECT_OT_hook_reset operator and RNA object assignement.

Reviewed by Brecht, thanks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60777 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: use bools instead of ints for tracking utility functions

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60778 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: move hardcoded structure to a typedef

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60779 954f8c5b-7b00-dc11-b283-0030488c597c
Get rid of Allow Fallback option

It was rather confusing from the user usage point
of view and didn't get so much improvement after
new bundle adjuster was added.

In the future we might want to switch resection
to PPnP algorithm, which could also might be a
nice alternative to fallback option.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60780 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: move function prototype to header file

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60781 954f8c5b-7b00-dc11-b283-0030488c597c
renaming "Beautify Fill" to "Beautify Faces"

changing the ot->name only, not the ot->idname
(to avoid breaking scripts)

The tool requires the selection to be fill previously,
the original name was confusing if we consider we have
"Fill" with the "Beauty" option.

Discussed with Bastien Montagne and Brecht van Lommel.

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