Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-17use 'with' keyword for script stub (recommended with py3).Campbell Barton
2013-07-30Minor change to the custom_nodes.py template that has some consequences for ↵Lukas Toenne
addons: use bpy.types.* base classes instead of bpy_types.* The bpy_types classes cause issues when used in addons when loading on Blender startup (subclasses cannot be properly registered).
2013-06-09Fix for unintended commit of python template file ...Lukas Toenne
2013-06-09Removed the unused draw_add_menu function from pynodes template. This was ↵Lukas Toenne
previously used to extend the node Add menu, now the node categories system is used instead.
2013-06-09Removed deprecated XXX comment from custom_nodes.py, importing node base ↵Lukas Toenne
types works now (this comment was causing some confusion in the past).
2013-06-09Added an example for using the new node categories system to the ↵Lukas Toenne
custom_nodes.py template script.
2013-06-09Removed the 'custom node group' example from the pynodes template script. ↵Lukas Toenne
This does not work properly due to the fact that node groups don't have a single registerable base class any more. The reason for that is that RNA does not support multiple inheritance so the actual node group subtypes (ShaderNodeGroup, CompositorNodeGroup, TextureNodeGroup) can not be derived from both the ShaderNode/CompositorNode/TextureNode base types as well as a common NodeGroup type ... It is possible however to define node group types entirely in python which avoids the limitations of the RNA system and is much more flexible, example for this will follow later.
2013-05-08Updated the custom_nodes.py template script to reflect socket draw API ↵Lukas Toenne
changes in r56584 and r56585.
2013-05-05correction for uv template, also some doxygen comment corrections. Campbell Barton
2013-05-05correct bmesh api crossref and update uv-operator template.Campbell Barton
2013-03-22Fix for the custom_nodes.py template. Socket classes now return their ↵Lukas Toenne
drawing color in a callback instead of a simple property, this makes it possible to change a socket color e.g. based on data type.
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-02-23Missed instance of ThemeGeneric.back -> ThemeGradient.gradients.high_gradientAntony Riakiotakis
2013-02-08Fix uilists showing data names translated (reported on bf-translations ML by ↵Bastien Montagne
Satoshi Yamasaki aka yamyam, thanks!).
2013-01-05Adding some example for new UIList...Bastien Montagne
2012-12-30add templates menu for OSL, use preprocessor directive color for decorators ↵Campbell Barton
in python.