Yet another Stupid Stub Fix™!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56217 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove duplicate function _det_m3(), clip_line_plane was copying a vector for no reason.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56218 954f8c5b-7b00-dc11-b283-0030488c597c
add clip_segment_v3_plane_n() to clip a line segment to planes (as used for view clipping).
use in ED_view3d_win_to_segment_clip() and fix error, was clipping by only 4 planes rather then 6.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56219 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35007] clipping border error
add clip option to ED_view3d_win_to_ray(), ED_view3d_win_to_segment()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56220 954f8c5b-7b00-dc11-b283-0030488c597c
from bug report [#34984] bmesh.ops.recalc_face_normals() ignores use_flip=True

the name `use_flip` is misleading, option in fact tags faces that have been flipped, rename to `use_face_tag`


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

Allow separate control for tex/mask/cursor overlay. This commit implements
separate overlays for mask textures and cursor curves. The user can turn on
and off separate parts of the overlay by using the appropriate widgets.
The cursor overlay widgets are located at the tool selection panel

Also fixed alpha masks not getting correctly masked and mask texture mapping
not having the correct update callback

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56222 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround [#34983] bpy.ops.mesh.primitive_torus_add() ignores rotation-parameter


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56223 954f8c5b-7b00-dc11-b283-0030488c597c
Fix silly mistake, cursor overlay does not depend on any brush texture
mapping

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56224 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #34882: mesh active face not drawing stippled with the mirror modifier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56225 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34706] Projection precision is zoom dependent
ED_view3d_project_float functions were rounding the results.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56226 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35056: crash running bpy.ops.transform.rotate() in background mode.

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

* Clobbering enum
* Cursor overlay not dependent on mapping (again!)
* Brush overlay not updating when size is tweaked

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56228 954f8c5b-7b00-dc11-b283-0030488c597c
fix for UI annoyance with popups (such as new image popup) opening their menus to the right of the button.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56229 954f8c5b-7b00-dc11-b283-0030488c597c
Add stencil control for mask overlay. Key combinations are the same as
regular stencil but use Alt as well, so Alt-Rclick is translation, Alt-
clamping to avoid scaling of stencil to zero.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56230 954f8c5b-7b00-dc11-b283-0030488c597c
Allow hiding separate hiding of overlays on stroke.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56231 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#34869] Switching actions does not trigger animation refresh

Changing actions via RNA (or apparently from the Action Editor browse menu too)
didn't perform all the necessary updates/tagging/recalc needed to have the
results of the new action get immediately applied in the 3D view. This caused
problems for exporters, as the first frames exported would be incorrect (though
this could probably be worked around by manually stepping the current frame
forward one frame then back again).


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56233 954f8c5b-7b00-dc11-b283-0030488c597c
rna attribute consistency edits, use common prefix for booleans.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56234 954f8c5b-7b00-dc11-b283-0030488c597c
Added registerable size properties for node types in RNA. This allows pynodes to define min/max and default width for nodes. Height is also registerable, but will be ignored for the standard node layout doable with pynodes atm (height is calculated automatically based on sockets and extra buttons). It might be usable in the future, for now just added for completeness.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56235 954f8c5b-7b00-dc11-b283-0030488c597c
edit to r56235, min/max are common abbreviations used in rna.


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