May 8, 2013, 21:05 (GMT) |
UI naming consistency: * DopeSheet -> Dope Sheet. No need to glue the words together. Only changed comments and UI strings, no functional changes. Request by Dalai Felinto. |
May 8, 2013, 19:49 (GMT) |
Cycles / Tile Rendering: * Code refactor of tile ordering to simplify the code and avoid some branching. * Changed the Center method, so it really follows center -> corners, instead of the BI method, which was confusing sometimes. |
May 8, 2013, 19:37 (GMT) |
Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes. |
May 8, 2013, 17:33 (GMT) |
Cycles / Hair rendering: * Enable hair rendering on the GPU. Patch by Stuart Broadfoot, with small tweaks by me, to only enable it on sm_20 and above. |
May 8, 2013, 17:23 (GMT) |
Blender 2.68 release cycle begin: * BCon1, Alpha. Let's have an awesome one! |
May 8, 2013, 16:17 (GMT) |
May 8, 2013, 16:00 (GMT) |
Fix for node group user count: since node group pointer uses an explicit setter callback it has to do user count increment/decrement manually. |
May 8, 2013, 15:41 (GMT) |
Fix for node item polling: recursion check was the wrong way around, needs to test is the parent tree is inside the group. |
May 8, 2013, 15:41 (GMT) |
Added filter to the node group items callback to remove recursive node groups right from the start. These tree pointers would be polled out internally as well, but this way they don't show up in the menus in the first place. |
May 8, 2013, 15:41 (GMT) |
A bit more pythonic way of using the items callback in node categories. The category.items attribute is now a function taking a context parameter instead of a property. This can be used for checking validity, e.g. for doing node group recursion checks, and filter out unusable items. |
May 8, 2013, 15:41 (GMT) |
2 fixes for node group node_tree pointer property: Make sure the nodeGroupPoll function (which checks for recursion) is used both in the poll callback as well as the actual pointer assignment (set). The poll callback doesn't seem to be used when directly setting the node_tree pointer from the API, so to make sure no dangerous recursion situation can happen this needs a second check. |
May 8, 2013, 15:40 (GMT) |
Expose the data type property of node group interfaces for easier comparison in python. |
May 8, 2013, 15:40 (GMT) |
Moved a couple of common properties into the NodeAddOperator base class to avoid repetitive code. A new operator node_add_and_link is another variant that first creates a node and them connects a specific socket to an existing one (defined by context pointer). |
May 8, 2013, 15:40 (GMT) |
Removed the unused socket template system from the bpy_types Node base class (it interferes with the input_templates/output_templates functions from C nodes). This can be reimplemented in a nicer way for pynode subclasses later on, but should not be part of the basic Node class. |
May 8, 2013, 15:40 (GMT) |
Exposed the node socket templates of C nodes in RNA by means of a classmethod. This will allow the node link menu to determine feasible socket connections before an actual node instance is created. |
May 8, 2013, 15:40 (GMT) |
Removed the add_group_node operator, this is now integrated into the generic node_add operator. The group node tree pointer is then part of the settings dictionary. |
May 8, 2013, 15:40 (GMT) |
Expose the HIDE_VALUE flag of node sockets in RNA. |
May 8, 2013, 15:40 (GMT) |
Workaround for C nodes: In order to make registerable RNA methods of the standard C nodes (e.g. poll or draw_buttons) available in python scripts, they need a specialized Node subtype (called NodeInternal). This is necessary because bpy omits any registerable functions of RNA types in the generated python classes, relying instead on using the supposed native implementation in a registered python class. Since the standard shader/compositor/texture nodes in Blender are not registered but directly created in makesrna they lack all registerable function in the associated python types. The NodeInternal RNA subtype replaces the registerable functions of the base Node type to solve this issue. |
May 8, 2013, 14:58 (GMT) |
Extended the draw callback API for node sockets with an explicit text parameter, instead of always using the sock->name string. This can be useful for drawing the socket values separate from the label, e.g. in the node view template. |
May 8, 2013, 14:58 (GMT) |
Change to socket draw functions: instead of always only drawing the socket label for connected sockets, leave this check up to the socket draw function itself. This allows future socket types to draw buttons or other info in all cases and handle connected/unconnected state more flexibly. The drawinputfunc/drawoutputfunc callbacks in bNodeType are pretty much empty wrappers now and should be removed at some point. This per-node differentiation should rather be implemented as a specialized socket type if necessary. The only use case for this feature that remains is the file output node in compositor, which displays shortened file format info for each socket. |
|
|
|


Master Commits
MiikaHweb | 2003-2021