code cleanup: use math functions for curve compo code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50066 954f8c5b-7b00-dc11-b283-0030488c597c
compositor color curve was MEM_dupallocN'ing the curve for every pixel calculation (when there were black or white inputs on the curve node).

avoid allocation by using local vars for black/white storage & curve calculation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50067 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: don't use magic numbers for curve flag & use bool args for curvemapping_changed()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50068 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: some legacy compo nodes were not ifdef'd


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50070 954f8c5b-7b00-dc11-b283-0030488c597c
mask: skip self intersection on drawing when fill is disabled, since it was only drawing on one side of an unfilled spline.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50072 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: includes and correction for macro


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50073 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32370: compiler error in wm_playanim.c due to conflicting Carbon ID type
from Quicktime headers. However the Quicktime init/exit is no longer needed
here, it happens in IMB_init/IMB_exit now, so removed that code.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50074 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: vfont's used confusing and over complicated method of storing memory for loaded fonts, not store as a temp var in the fonts.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50075 954f8c5b-7b00-dc11-b283-0030488c597c
Sequencer: invalidate current frame cache on sequence transform

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50076 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor changes to last commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50078 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for
 * [#32356] Problem with "Ghost" in the "Glare" Node in Compositor


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50079 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug with render slots - where the menus wouldnt only show layers from the last render which could be meaningless in different render slots.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50080 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: more legacy compo functions ifdef'd


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50083 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32355: select vertex path not working when vertices are selected with e.g.
border select. There was a fix before bmesh where it would require exactly two
vertices to be selected, but this was not ported over, and it also wasn't quite
correct.

This case should also work: click on two vertices, selected the path between
them, and then click on a 3rd vertex and select path, to extend the path further
from the 2nd to the 3rd vertex.

Now both use cases should work.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50084 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32369: pixel glitch with compositor curves node, and some pixels having
black point = white point. That's a degenerate case, clamped it now to 1e5,
which is a bit arbitrary, but infinity would give NaN issues.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50085 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32341: extrude with a mirror modifier could lead to orphan vertices, it
was already removing unnecessary edges, just not vertices of those edges.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50086 954f8c5b-7b00-dc11-b283-0030488c597c
change curve evaluation functions never to modify curve data (ensures thread safety), now initializations has to be done outside evaluation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50087 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32334: mesh separate by material with > 2 materials could include some
incorrect extra edges.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50088 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32374] Curve compositor UI drawing glitch
copy the curve for the compositor.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50089 954f8c5b-7b00-dc11-b283-0030488c597c
alt+wheel scrolling over the render slots works again (this didnt support scrolling when new interfaces would replace the old ones).


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