April 13, 2013, 23:06 (GMT) |
Code cleanup: * Remove obsolete comment from layout file. |
April 13, 2013, 22:52 (GMT) |
Code cleanup / Layout script: * Never ever use something like "rowsub" as variable. |
April 13, 2013, 22:29 (GMT) |
make buttons for edge/face area, length, angles etc. more compact. |
April 13, 2013, 22:21 (GMT) |
remove checks for 'context.scene' when checking if freestyle is enabled. |
April 13, 2013, 22:12 (GMT) |
show weight-display options in editmode. |
April 13, 2013, 21:09 (GMT) |
BGE: Adding a render.setFullScreen() and a render.getFullScreen() to allow fulscreening games via Python. |
April 13, 2013, 20:58 (GMT) |
code cleanup: edit-derived-mesh, define 'BMesh *bm' as local variable, avoid 'bmdm->em->bm' within functions. |
April 13, 2013, 20:40 (GMT) |
fix for error in editmesh derived callbacks, emDM_getVert(), emDM_getEdge(), emDM_getTessFace(). Currently the functions aren't used since they would fail have failed immediately. |
April 13, 2013, 20:31 (GMT) |
code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere). |
April 13, 2013, 20:20 (GMT) |
Mesh Drawing: Option to draw mesh vertex-weights in editmode, available from the 'Mesh Display' panel. TODO: get this to work when modifiers are applied in solid mode (texface-solidmode is working). |
April 13, 2013, 18:11 (GMT) |
code cleanup: more minor changes for editmesh face drawing. |
April 13, 2013, 17:57 (GMT) |
code cleanup: editmesh draw functions, make face drawing more consistent. |
April 13, 2013, 17:36 (GMT) |
Node editor: create the toolbar area right at the start in node space, in order to show the '+' icon for expanding. |
April 13, 2013, 16:32 (GMT) |
Node UI: * Now that the toolbar is useful, add menu entry into the "View" menu. |
April 13, 2013, 16:29 (GMT) |
Fix some compilation errors for MinGW. Thanks to vildas on irc for bringing this to attention. |
April 13, 2013, 16:28 (GMT) |
Fix: uiBlockSetNFunc was using uiButHandleFunc as param signature, instead of uiButHandleNFunc one (was working because both are the same currently). |
April 13, 2013, 16:26 (GMT) |
Node Toolbar: * Have panels closed by default. |
April 13, 2013, 15:51 (GMT) |
Node categories / Add menu: * Fix for Subsurface Scattering node. |
April 13, 2013, 15:38 (GMT) |
Replacing the node Add menu and making the toolbar useful As some people have already noticed, the "Add" menu for nodes is a bit messy since pynodes merge. The reason for this is that the order of nodes in submenus (categories) was previously defined by the order in which all nodes are registered (at the bottom of blenkernel/intern/node.c). For the dynamic registration of node types now possible this system of defining node order along with registration is no longer viable: while it would still sort of work for C nodes, it is completely meaningless for dynamic (python) nodes, which are basically registered automatically in whatever order modules and addons are loaded, with the added complexity of unloading and reloading. To fix this problem and add a bunch of desirable features this commit replaces the C menu with a python implementation. The new menu does not rely on any particular order of types in the node registry, but instead uses a simple explicit list of all the available nodes, grouped by categories (in scripts/nodeitems_builtins.py). There are a number of additional features that become possible with this implementation: 1) Node Toolbar can be populated! The list of nodes is used to create 2 UI items for each node: 1 entry in a submenu of "Add" menu and 1 item in a node toolbar panel with basically the same functionality. Clicking a button in the toolbar will add a new node of this type, just like selecting an item in the menu. The toolbar has the advantage of having collapsible panels for each category, so users can decide if they don't need certain nodes categories and have the rest more easily accessible. 2) Each node item is a true operator call. The old Add menu is a pretty old piece of C code which doesn't even use proper operator buttons. Now there is a generic node_add operator which can be used very flexibly for adding any of the available nodes. 3) Node Items support additional settings. Each "NodeItem" consists of the basic node type plus an optional list of initial settings that shall be applied to a new instance. This gives additional flexibility for creating variants of the same node or for defining preferred initial settings. E.g. it has been requested to disable previews for all nodes except inputs, this would be simple change in the py code and much less intrusive than in C. 4) Node items can be generated with a function. A callback can be used in any category instead of the fixed list, which generates a set of items based on the context (much like dynamic enum items in bpy.props). Originally this was implemented for group nodes, because these nodes only make sense when linked to a node tree from the library data. This principle could come in handy for a number of other nodes, e.g. Image nodes could provide a similar list of node variants based on images in the library - no need to first add node, then select an image. WARNING: pynodes scripters will have to rework their "draw_add_menu" callback in node tree types, this has been removed now! It was already pretty redundant, since one can add draw functions to the Add menu just like for any other menu. In the future i'd like to improve the categories system further so scripters can use it for custom node systems too, for now just make a draw callback and attach it to the Add menu. |
April 13, 2013, 15:14 (GMT) |
Usability fix, own collection. If you have two windows, each with different scene, the render output for a window would go to the other, if it was already drawing a render for the other scene. Now you can have renders draw correct in two windows for two scenes. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021