- Added vertex color support
- Added verbose logging
- Better code documentation/pep8 compliance
This rewrite is done!  Moving to trunk soon.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4382 96b784f8-4ae3-dd11-aff7-0030488c597c
- Rearranged some export options


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4384 96b784f8-4ae3-dd11-aff7-0030488c597c
Moved to trunk!


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4386 96b784f8-4ae3-dd11-aff7-0030488c597c
prepared for fake user flag option; new image loading function and support for more image formats

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4387 96b784f8-4ae3-dd11-aff7-0030488c597c
1. Updates needed to match API changes
When adding nodes - different way of identifying nodes' types needed.

2. Marge Nodes: Ctrl-0 merges all selected nodes except Shaders using 'Mix' node with 'Mix' blend type.
3. When nodes with with mixed output types are selected - 'Mix' nodes will be used (doesn't apply to SHADERS).

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4393 96b784f8-4ae3-dd11-aff7-0030488c597c
add overhang check for printers that have limits for their overhang.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4394 96b784f8-4ae3-dd11-aff7-0030488c597c
export the selection


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4396 96b784f8-4ae3-dd11-aff7-0030488c597c
add distorted face check.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4397 96b784f8-4ae3-dd11-aff7-0030488c597c
Additional keyboard shortcuts for merging nodes, changing blend types or operations.
The goal was to allow to use not only numpad keys, but regular keys as well.
In 'Add Reroutes to Outputs' - now it's possible to use numpad slash and regular slash.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4398 96b784f8-4ae3-dd11-aff7-0030488c597c
typo Astroid -> Asteroid (spotted by Aidy Burrows in his video tutorial)

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4399 96b784f8-4ae3-dd11-aff7-0030488c597c
Code clean up. No functional changes.
- change names of some properties of classes.
- replacing EnumProperties with StringProperties.
- Changes in some menus, adding new menus to match new classes properties.
- Different handling of keymap items. Because of large number of keymap items - their properties wrapped in tuples.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4400 96b784f8-4ae3-dd11-aff7-0030488c597c
workaround for PLY only exporting active mesh.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4406 96b784f8-4ae3-dd11-aff7-0030488c597c
In LinkActiveToSelected:
- change name of variable to more meaningful name.

In ReroutesSwitchesSwap:
- Bug fix - When swapping nodes not linked to anything - error occured. Now it's fixed.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4407 96b784f8-4ae3-dd11-aff7-0030488c597c
Bugfix: Copy Render Layers.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4413 96b784f8-4ae3-dd11-aff7-0030488c597c
Added several options and changed some keyboard shortcuts:

Swap Nodes (Shift-S):
This allows to replace selected nodes with nodes of a different type.
Previously only exchanging between 'REROUTE' and 'SWITCH' nodes were possible.
This commit adds options to change some nodes' types to:
'MIX_RGB', 'MATH, 'ALPHAOVER', 'SWITCH' and 'REROUTE'.
I'm planning to add option to change shaders to other shaders.

Link Active To Selected (Shift-F, Ctrl-Shift-F, Alt-F):
This allows to link active node to all selected nodes.
It's possible to link without replacing existing links (Shift-F). First input of the same type as active node's output will be linked if it's free.
To replace existing links - use (Ctrl-Shift-F).
This behavior is similiar to standard (F) or (Ctrl-F), but links active to selected instead of basing on nodes' location.
(Alt-F) will link active to selected basing on names. Menu is called and user can select option to use active node's name/label and compare it with selected nodes' names,
or base on outputs' names. This option can be useful when user decides to replace input Render Layers node with pre-rendered MultiLayerOpenEXR.

Add Reroutes to Selected Nodes' Outputs (Slash) or (Numpad Slash):
This adds 'REROUTE' nodes and links them to all outputs of selected nodes.
Option to add them to all outputs no matter if they are linked or not.
If adding reroutes to already linked outputs - newly added reroutes are inserted into link. Behaves exactly as if we dropped node onto the link.
In this function I changed spacing between newly added reroutes to match latest changes in displaying outputs of nodes. They are now a bit more apart from one another.

The addon is almost ready to go to trunk. Only one thing left to do: Adding option to swap shaders.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4414 96b784f8-4ae3-dd11-aff7-0030488c597c
Small change in AddReroutes:
y_offset increased by one unit. This better matches spacing between outputs of nodes.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4415 96b784f8-4ae3-dd11-aff7-0030488c597c
Merge remote-tracking branch 'remotes/trunk'

* remotes/trunk:
  Small change in AddReroutes: y_offset increased by one unit. This better matches spacing between outputs of nodes.
  Added several options and changed some keyboard shortcuts:
  Bugfix: Copy Render Layers.
  In LinkActiveToSelected: - change name of variable to more meaningful name.
  workaround for PLY only exporting active mesh.
  Code clean up. No functional changes. - change names of some properties of classes. - replacing EnumProperties with StringProperties. - Changes in some menus, adding new menus to match new classes properties. - Different handling of keymap items. Because of large number of keymap items - their properties wrapped in tuples.
  typo Astroid -> Asteroid (spotted by Aidy Burrows in his video tutorial)
  Additional keyboard shortcuts for merging nodes, changing blend types or operations. The goal was to allow to use not only numpad keys, but regular keys as well. In 'Add Reroutes to Outputs' - now it's possible to use numpad slash and regular slash.
  add distorted face check.
  export the selection
  add overhang check for printers that have limits for their overhang.
  1. Updates needed to match API changes When adding nodes - different way of identifying nodes' types needed.
  prepared for fake user flag option; new image loading function and support for more image formats
  Moved to trunk!
  - Rearranged some export options
  - Added vertex color support - Added verbose logging - Better code documentation/pep8 compliance This rewrite is done!  Moving to trunk soon.