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
2014-09-21Py Template: Set the active object in batch exportCampbell Barton
Some exporters (mdd for example), only use the active object
2014-09-17Cleanup: pep8Campbell Barton
2014-08-11Pie Menus C code backend.Antony Riakiotakis
This commit merges the code in the pie-menu branch. As per decisions taken the last few days, there are no pie menus included and there will be an official add-on including overrides of some keys with pie menus. However, people will now be able to use the new code in python. Full Documentation is in http://wiki.blender.org/index.php/Dev:Ref/ Thanks: Campbell Barton, Dalai Felinto and Ton Roosendaal for the code review and design comments Jonathan Williamson, Pawel Lyczkowski, Pablo Vazquez among others for suggestions during the development. Special Thanks to Sean Olson, for his support, suggestions, testing and merciless bugging so that I would finish the pie menu code. Without him we wouldn't be here. Also to the rest of the developers of the original python add-on, Patrick Moore and Dan Eicher and finally to Matt Ebb, who did the research and first implementation and whose code I used to get started.
2014-04-15Style cleanup: C & pep8Campbell Barton
2014-01-01Fix T38008: Bug in templates operator_nodes.pyBastien Montagne
2013-11-23Add ctrl-click rename to most lists in Blender UI and templates/examples.Bastien Montagne
Notes: * Did not touch to addons, that's up to the authors. ;) * Did not removed any "name" field below lists. We might want to do this in some cases (less UI clutter), but probably not always, so will let maintainers of the related areas decide here.
2013-11-16Addons: remove tracker URL from addon template, as this is no longer used,Brecht Van Lömmel
and link to the new Addons bug reporting page.
2013-11-12Small example for dynamic node labels in the custom_nodes.py template script.Lukas Toenne
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-22minor changes to templatesCampbell Barton
2013-10-10Change to node output socket drawing: Instead of always drawing only the ↵Lukas Toenne
socket label for outputs, leave this check up to the socket type draw function. This gives custom node scripts more flexibility in how to draw socket values by allowing buttons on output sockets as well. http://wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes#Python_Node_Output_Drawing
2013-09-29Fix broken example, reported by Codemanx on IRC, thanks.Bastien Montagne
2013-08-29UIList: update examples and templates.Bastien Montagne
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.