Fix own mistake. Erroneously prefixed sculpt capabilities with sculpt_
before separating them in another struct. Thanks to Sebastian Koenig for reporting

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55290 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34633: Merge First/Last crashes Blender

It was check happening when generating menu with available modes
for merge operator, but no checks happened when executing operator.

Since operator could be called from python or shortcut, it was
possible to bypass all the checks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55292 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for 2d painting:

* Jittering accounts for zoom
* Smooth stroke accounts for zoom
* Expose smooth stroke in image paint editor.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55293 954f8c5b-7b00-dc11-b283-0030488c597c
Skip doing frame undistortion if it's not needed for proxies.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55294 954f8c5b-7b00-dc11-b283-0030488c597c
Skip allocating any display buffer and starting any threads
in case image buffer contains byte buffer only and it's
color space matches display space.

It was already check for this case, but it happened later
in color management routines, which is needed for saving
files, but not fast enough for realtime playback of 4K.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55295 954f8c5b-7b00-dc11-b283-0030488c597c
Patch #34632: DPX/Cineon speed up

Done by Julien Enche (aka trap), thanks!

From the patch comment:
This patch speeds up Cineon/DPX file loading.
Some more checks are done in dpxOpen and cineonOpen functions so IB_test
flag can now be taken into account safely, and an unnecessary call to
IMB_rect_from_float has been removed.

DPX/Cineon file now loads around 3 times faster on my computer.

Own comment:
Ideally, IB_rect shall indeed indicate which buffers to load, however
currently all places which reads image uses this flag.

This fact already mentioned in OpenEXR reader and it shall be fine
to skip doing rect_from_float in readers themselves.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55296 954f8c5b-7b00-dc11-b283-0030488c597c
Support for rake in 2D image painting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55297 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34617, Track Position Node outputs had a limit value of 1 instead of the usual 0 (multiple connections allowed). Common problem with the explicit limit value in socket C templates, should be removed ...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55298 954f8c5b-7b00-dc11-b283-0030488c597c
Add missing operators from paint modes:

All modes:
-----------
Shift-S sets smooth stroke mode

Texture Paint/Vertex Paint:
----------------------------
R springs brush rotation control menu
Ctrl-F sets brush user rotation

Vertex paint mode was getting transform events with R, made sure no
transform events are handled for paint modes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55299 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
also correct odd indentation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55300 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: missed these last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55301 954f8c5b-7b00-dc11-b283-0030488c597c
Multi-threaded frame calculation for movie clip proxies

This commit implements multi-threaded calculation of frames
when building proxies. Both scaling and undistortion steps
are now threaded.

Frames and proxy resolution are still handled one-by-one,
saving files after every single step. So if HDD is not so
fast, this commit could have not so much benefit.

Internal changes:

- Added IMB_scaleImBuf_threaded which scales given image
  buffer in multiple threads and uses bilinear filtering.

- libmv's camera intrinsics now have SetThreads() method
  which is used to specify how many OpenMP threads to use
  for buffer distortion/undistortion.

  And yeah, this code is using OpenMP for threading.

- Reshuffled a bit libmv-capi calls and added function
  BKE_tracking_distortion_set_threads to specify number
  of threads used by intrinscis.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55302 954f8c5b-7b00-dc11-b283-0030488c597c
knife projection feature,
apart of 3d printing tools - use to cookie-cut text into a mesh.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55303 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own bad mistake using alloca in a loop, also knife project wasnt selecting correctly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55304 954f8c5b-7b00-dc11-b283-0030488c597c
Add the possibility to define the translation context for py rna classes (operators, panels and menus).

Thanks to Campell and Brecht for the reviews!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55305 954f8c5b-7b00-dc11-b283-0030488c597c
knife project:
- selecting faces inside the cut now works properly
- improve epsilon for detecing if faces are inside a cut (still not perfect)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55306 954f8c5b-7b00-dc11-b283-0030488c597c
Small fix to previous commit: temp buffer for translation context needs to be initialized to relevant default value for operators... Also fixed not initializing those buffers in macro register function.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55307 954f8c5b-7b00-dc11-b283-0030488c597c
Fix/disambiguation for some "Clip" i18n messages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55308 954f8c5b-7b00-dc11-b283-0030488c597c
add in ifdef for WITH_LIBMV, correct own error passing float[2] as float[3]


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55309 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34649: texture size limit user preference not working.

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