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-01-16style cleanupCampbell Barton
2012-12-29Fix for the NODE_OT_add_node operator. The way python classes were ↵Lukas Toenne
subclassed does not work with the registration mechanism. Combined both node_add and node_add_move operators into a single general operator with a flag. When use_transform is set, the operator will start transform on the new nodes after inserting.
2012-12-12style cleanup: also change node selection method not to compare nodes a lot.Campbell Barton
2012-12-12A few basic Python operators for adding nodes in the node editor tree. These ↵Lukas Toenne
operators basically have the same functionality as the 'Add' menu (which currently does not even use operators itself). They can be used in customized tools. The node_add_move operator is an extended variant which starts the (modal) transform operator right after adding a node, as a quicker way of inserting nodes in a tree.
2012-09-27pep8 cleanupCampbell Barton
2012-08-17style cleanupCampbell Barton
2012-08-17fix for crash showing tooltip for NODE_OT_add_search()Campbell Barton
2012-08-14style cleanup: pep8 & unfinished comment from own commit.Campbell Barton
2012-08-14Python node operator for combined node collapsing and hiding unused sockets. ↵Lukas Toenne
Socket hide flag is added to RNA as well, but can only be set when the socket is not connected, to avoid dangling links in editor drawing. Currently this operator has no default hotkey, but can be called from the Node menu.
2012-08-10Extended the search operator for nodes to also support node groups. The ↵Lukas Toenne
basic node group type is not included in the node items list, instead all existing node groups are added to the items list in the callback. A prefix is used to distinguish base node types from node groups.
2012-08-08code cleanup: lazy init enum for node searchCampbell Barton
2012-08-08Search option for adding nodes.Lukas Toenne
The 'Add' menu in the node editor now has an option 'Search' at the top, which opens a separate popup for searching node types by name. The operator for this is implemented completely in Python (this could also be done for the regular menu-based Add options in the future). There are a few necessary extensions to the RNA as well: * The View2D struct in regions is now exposed. Currently only contains converter functions for coordinates from the region to the view (i.e. scrolled and zoomed view space). Used for converting mouse location to node space. * The SpaceNode exposes the existing 'cursor_location' for operators to store mouse position beyond invoke calls. Not used for anything else (transforms) so far. * The edit_tree in SpaceNode is also exposed, this is needed for operators to work correctly inside node groups.