Cycles: tangent and normal map now show UV map link menu instead of text field.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51955 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles crash with normal map node, issue with tangent sign attribute.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51956 954f8c5b-7b00-dc11-b283-0030488c597c
support for string parameters in OSL nodes
for now subtype is not defined, but once we start parsing the metadata we can set texture inputs as FILEPATH
also, it takes relative strings and convert to absolute for all strings (which is arguably a good solution, but
should work for now)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51957 954f8c5b-7b00-dc11-b283-0030488c597c
for utility checkers, use QUIET env var, not to print progress. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51959 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup, also remove redundant call to set_listbasepointers in free_main().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51960 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup:
- remove double promotions
- use UI_DPI_ICON_FAC macro rather then dpi/72
- add assert to prevent creating jobs with WM_JOB_TYPE_ANY, which should only be used for finding jobs.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51962 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33108] Running save_as_mainfile breaks relative texture paths

save-as with path remapping left the paths relate to the file written.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51963 954f8c5b-7b00-dc11-b283-0030488c597c
decimator - no need to check abs() on normal length.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51964 954f8c5b-7b00-dc11-b283-0030488c597c
decimator - interpolate vertex normals rather then re-calculating them. faster and means degenerate faces wont `explode`.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51965 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33106] Decimate modifier/collapse give bad result
FLT_EPSILON was too small to use when checking if the edge collapse result is an error.

add invert_m3_m3_ex(), invert_m3_ex() functiosn which take an epsilon to check the determinant, saves calculating it twice per edge collapse.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51966 954f8c5b-7b00-dc11-b283-0030488c597c
Invalidate sequencer cache when movie clip's input color space is changing

Currently the only way is to invalidate the whole cache, for something
smarter we'll need a dependency graph which would be able to deal with
relations between clip and strip.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51967 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: some more version target cleanups and corrections

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51968 954f8c5b-7b00-dc11-b283-0030488c597c
Fix a typo and more descriptve commet

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51969 954f8c5b-7b00-dc11-b283-0030488c597c
Fixed crashes when motion tracks are zero-sized

This is probably versioning issue happened when both trunk and tomato
were mixed to work on the same file.

Anyway, there're few files here locally and it's probably other users
do have the same files, so lets keep things safe here :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51970 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33094] Even edge slide on multiple loops destroys geometry


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51971 954f8c5b-7b00-dc11-b283-0030488c597c
prevent floating point exceptions from being raised in soft_range_round_up/soft_range_round_down(), caused by log(0).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51972 954f8c5b-7b00-dc11-b283-0030488c597c
Affine tracker do_versions were missed for objects tracs

Run this code again, so files from 2.63 would be opened correct now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51973 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error in recent orig-index refactor (reported as [#33112])


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51974 954f8c5b-7b00-dc11-b283-0030488c597c
Motion Tracker: disable stabilization operators when active object is not a camera

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