SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45580 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup:
* Remove some non used *_button_register functions, panels are done in python.
* Remove do_node_region_buttons, was not used anymore.

Fix:
* Only show Grease Pencil panel in the Node editor, when there is a valid nodetree. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45581 954f8c5b-7b00-dc11-b283-0030488c597c
fix for UV reveal (wasnt selecting all verts because check for unselected vert was incorrect after selecting the first face).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45582 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api changes:
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear.
- add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test()
  to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element.
  This replaces the need for BM_mesh_select_flush_strip().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45583 954f8c5b-7b00-dc11-b283-0030488c597c
Fix loading external MDisps, BMesh merge bug.

* When converting mfaces to mpolys, load external MDisp data in, add
  CustomDataExternal struct to loopdata if needed.

* Fix multires modifier's filepath RNA functions to use ldata rather
  than fdata.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45585 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh - UV editor: check if faces are visible before hiding them (was done before bmesh merge).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45587 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30923] Hide Unselected in the UV/Image editor does nothing


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45588 954f8c5b-7b00-dc11-b283-0030488c597c
set executable option and some minor changes to ctodata/datatoc


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45589 954f8c5b-7b00-dc11-b283-0030488c597c
- startup.blend's temp dir was pointing to sergeys user dir, now point to /tmp
- fix error in ctodata.py (was adding dummy bit)
- make UV hide from last commit more readable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45590 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh todo: vertex dirtmap now working again.

also renamed Polygon helper property from 'loops' to loop_indices


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45591 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30929: cycles rendering of object with scale 0 on some axis did not work
correct with instancing.

Actually such object will not work in many places, e.g. transforming vertices
in edit mode doesn't work and textures will be misapplied in Blender Internal,
so these should be avoided.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45592 954f8c5b-7b00-dc11-b283-0030488c597c
Fix part of #30934: save as image in image editor did not set proper defaults
for options like compression.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45593 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30925] successful import of keyconfig dependant on current object context?

revert r34885,

The hack was to fix poselib UI but is REALLY BAD - don't modify properties when accessing them.

This bug must be fixed some other way.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45594 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related to #30928: missing image editor update when changing active image
texture node.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45595 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30936] Face Inset gives bad UV's


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45596 954f8c5b-7b00-dc11-b283-0030488c597c
Node Editor / Properties Region:
* Improved checks for Grease Pencil and Active Node panel, so the panel only gets shown when there is valid data, rather than showing the empty panel. 

Thanks to Lukas Tönne for some help! :) 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45597 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30876, #30932: crash in material preview render after undo or file load,
due to old material copies hanging around in the preview database.

This crash happened pretty randomly, but was especially noticeable when using
node groups.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45598 954f8c5b-7b00-dc11-b283-0030488c597c
Move "From Cursor" operator which sets dupli group offset to own operator

Previously it used to use cursor location from time when panel was drawn,
which in some cases lead to using previous cursor location instead of current.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45599 954f8c5b-7b00-dc11-b283-0030488c597c
Increase limit for game simulation steps to 50, made it hard limit.
Soft limit is still 5, so should be pretty safe even if it's not
supported well in all cases.

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