make scanfill threadsafe (wasnt threadsafe before BMesh merge but before the merge it didn't need to be) - now rendering uses its better if its threadsafe.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45675 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todos:
- curve undo now runs ED_curve_updateAnimPaths() again.
- comment out unneeded index setting.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45676 954f8c5b-7b00-dc11-b283-0030488c597c
Fix windows compile issue with missing isnan.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45677 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45678 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todo: ctrl+l now delimits by hidden faces.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45679 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for isnan compile issue on windows (second try).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45680 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todos:
- dont do name based object lookup to find the object for a mesh undo state (possibly object is renamed inbetween undos which would crash)
- remove some todo comments for things that are working as they should.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45681 954f8c5b-7b00-dc11-b283-0030488c597c
Fix/tweak for cycles border render, it wasn't generating the exact same samples
when rendering a subset instead of the whole, mostly useful for debugging.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45682 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30958: Right click menu and add shortcut for importers/exporters doesn't work

This was caused by how keymap is guessing for importer/exporter:

- In some cases if detected wrong keymap like for IMPORT_CURVE_OT_svg
  curve editing context was used because of CURVE_OT substring in
  operator name
- In other cases no keymap was detected because of substrings
  WM_keymap_guess_opname cheched.

Fixed by using Window keymap for any operator with EXPORT_/IMPORT_ substring
which seems to detect importer/exporter operator and only them nicely.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45683 954f8c5b-7b00-dc11-b283-0030488c597c
patch to our desktop file from debian, German translation.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45684 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove bmesh todo, which infact is working fine.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45685 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todo: snap to volume with dupli's works again


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45686 954f8c5b-7b00-dc11-b283-0030488c597c
And another fix for r45669 to have dualcon compile on windows...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45687 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todo: remove unused code.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45688 954f8c5b-7b00-dc11-b283-0030488c597c
Reverted r43219 "Improved auto-hiding of unused sockets for collapsed nodes."

This feature did have a number of flaws and caused some controversy, so removal is the better option. Hiding nodes without prior connections would just hide all the sockets, leaving an unusable node. Better way is to use the ctrl+h shortcut to explicitly hide unused sockets when necessary.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45689 954f8c5b-7b00-dc11-b283-0030488c597c
Port multires_topology_changed to new bmesh api

This call is still needed when loading editmesh because some operations
are not creating CD layer for new loops (like crating new face) and
to prevent loosing all sculpted data when running disps correct
displacement maps should be allocated on loading edit mesh.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45690 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30968: Lightmap Pack - no new image limit

Disable operator register and redo flags because it might modify non-mesh
data when in edit mode. This doesn't work properly with current undo stack
design.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45691 954f8c5b-7b00-dc11-b283-0030488c597c
Avoid invalid delete call when loading multilayer EXR files with that don't fit the Blender pass naming scheme. If the imb_exr_begin_read_mem function fails reading the EXR (e.g. because of too many channels per pass) it deletes the file internally, leading to segfault on second delete.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45692 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30972] Editmesh split by materials not working.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45695 954f8c5b-7b00-dc11-b283-0030488c597c
Dynamic output sockets for the image input node. This is needed to enable the node to read arbitrary multilayer exr files. Output sockets of this node are now generated dynamically when the image is updated. The image buffer has to be loaded to detect multilayer files on update.


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