Fixed bug when writing brackets from OSL scripts to .bcm files.

Writing less than or greater than signs as brackets confused the XML parser, which thought they were stray tags.
Now they are instead written as "lt ;" and "gt ;" (without the spaces).
HTML uses this standard anyway, so I just figured I might as well utilize it too.



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4037 96b784f8-4ae3-dd11-aff7-0030488c597c
Forgot to add replace function to applying material.



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4038 96b784f8-4ae3-dd11-aff7-0030488c597c
Bugfixing for OSL script nodes with internal scripts.

Less than signs (<), greater than signs (>), amperstands (&), and double quote signs (") originally caused problems with the parser I was using.
These will now be converted to entity definitions when written to a .bcm file, and converted back to their real characters when read.

I actually attempted to use them in a previous commit I made, but didn't remember them that well and was using them incorrectly.
Now they are working properly.

Entity definitions are explained in more detail here:
http://www.w3.org/MarkUp/HTMLPlus/htmlplus_13.html

As well, there were some occasional errors which the parser encountered with the XML version-encoding-header-thingy, so I hopefully have fixed all of those too.



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4039 96b784f8-4ae3-dd11-aff7-0030488c597c
OSL script nodes now save options.

Also fixed a small bug with adding OSL scripts, and updated the link to the Blender Material Preview Scene.



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4040 96b784f8-4ae3-dd11-aff7-0030488c597c
Initial version of the Node Categories addon.

This adds a basic panel to the new node toolbar region, from which a number of panels can be created. Users can add node categories, which are stored (for the time being) in the scene. These categories are then in turn used to automatically generate a number of Panel subclasses. Node types can be added as 'items' in each category, which will result in a operator button to add a node of that type. In addition to the basic node type, a number of settings can be registered for each item to initialize the new node.

For editing the categories the user must first enable the 'Edit' button in the main panel, this is a sort of "edit mode" to prevent cluttered UI.

Addon is marked as TESTING for now, there are a few issues that need to be solved and it's not feature complete yet.



git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4042 96b784f8-4ae3-dd11-aff7-0030488c597c
update addons for added alpha


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4043 96b784f8-4ae3-dd11-aff7-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4045 96b784f8-4ae3-dd11-aff7-0030488c597c
adding category: osl_textures, added very basic set up "hex_tile"
a more complex example of the node set up is in progress.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4048 96b784f8-4ae3-dd11-aff7-0030488c597c
fix to make osl script internal

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4049 96b784f8-4ae3-dd11-aff7-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4050 96b784f8-4ae3-dd11-aff7-0030488c597c
update themes


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4051 96b784f8-4ae3-dd11-aff7-0030488c597c
add importer option for extended normal handling

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4052 96b784f8-4ae3-dd11-aff7-0030488c597c
Bprojection: fix for key map

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4054 96b784f8-4ae3-dd11-aff7-0030488c597c
Bprojection: another fix for key map, in the futur I will attemp to do something more suitable, but I work for now

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4055 96b784f8-4ae3-dd11-aff7-0030488c597c
Bprojection: fix for fast navigate, I will add an int value to decrease the subsurf modifier in the futur.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4056 96b784f8-4ae3-dd11-aff7-0030488c597c
added osl_textures/hex_color.bcm, osl_textures/hex_wire.bcm
using an earlier version of hex tiles osl, these examples feature more complex node trees, including color ramps & "wire shading" set up.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4057 96b784f8-4ae3-dd11-aff7-0030488c597c
Bprojection: add a field for the level of subsurf to use when navigating in 3D view

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4058 96b784f8-4ae3-dd11-aff7-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4059 96b784f8-4ae3-dd11-aff7-0030488c597c
added exporter options to apply transform and apply modifiers on export

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons@4060 96b784f8-4ae3-dd11-aff7-0030488c597c
modified exporter triangulation and modifier handling (now it needs blender 2.65, because of triangulate modifier)

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