Blender Git Loki

Git Commits -> Revision 6c4510f

Revision 6c4510f by Lukas Toenne (master)
June 12, 2012, 08:44 (GMT)
Modification of node groups by adding/removing nodes is not possible yet. This patch extends the 'Make Group' operator and adds a new 'Separate' operator to add such functionality.

1) For inserting into existing groups:
The 'Make Group from selected' (CTRL+g) operator shows a selection popup (like the object parenting operator), with options depending on the type of the active node (last selected):
* "New" -> regular operator, creates new group type with all selected nodes inside.
* "Insert" (only if active node is a group) -> adds all other selected nodes into the group.

Currently still prohibits groups inside groups in general, though would be technically possible as long as no actual recursion occurs (group containing itself).

2) For extracting from an existing group:
New 'Separate from group' operator (p), works similar to separating vertices/edges/faces from mesh. Two modes:
* "Copy" makes a copy of the nodes in the parent tree, but keeps the original group intact.
* "Move" removes selected nodes from the node group and adds them to the parent tree

Commit Details:

Full Hash: 6c4510f681a3be71a73ffaa8da3627b284add9e4
SVN Revision: 47777
Parent Commit: b36b9f1
Lines Changed: +621, -310

6 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+1, -3) (Diff)
/source/blender/editors/space_node/node_edit.c (+617, -9) (Diff)
/source/blender/editors/space_node/node_intern.h (+1, -0) (Diff)
/source/blender/editors/space_node/node_ops.c (+2, -0) (Diff)
/source/blender/nodes/intern/node_common.c (+0, -296) (Diff)
/source/blender/nodes/intern/node_common.h (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021