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
2011-09-06Merged the particles-2010 branch with node improvements into trunk.Lukas Toenne
This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too. Detailed information can be found on the wiki page: http://wiki.blender.org/index.php/User:Phonybone/Particles2010
2011-07-27more minor warning cleanups and improve error reporting if text fails to save.Campbell Barton
2011-07-12Add delete with reconnect feature.Jeroen Bakker
this will reconnect nodes as if the deleted node is muted. Operation is added to the space_node node menu and to the keymap as CTRL-X to test this just add some nodes to the space_node select one or multiple nodes and press CTRL-X It should reconnect the nodes as they were muted limitations: 1. it performs a delete and reconnect per node. It does not evaluate all selected nodes as one whole 2. mute only supports Value, Vector and Color data types, so does this feature 3. not usable for nodes where input and output does not match (like colorToBW) Where reconnect could not be preformed the links will be removed from the model. Undo works with this delete with reconnect.
2011-06-14Nodes display now follow 'DPI' user pref tooTon Roosendaal
2011-03-25Moved temporary drag operator link drawing from node tree to node space ↵Lukas Toenne
function. Otherwise these links are redrawn for each node group. Changed selection flag used for the selected_nodes context property from SELECT to NODE_SELECT. These are just incidentally the same, but NODE_SELECT should be used for nodes.
2011-03-17Added an optional label string to nodes. As pointed out by Sebastian Koenig, ↵Lukas Toenne
some nodes (in particular render layer nodes) need custom labels, but it is not possible to make any useful generic abbreviation. The label string can be used as a custom user-defined label in this case, without the ugly .xxx extensions needed for unique node names. When the label string is empty, the default type label will be used.
2011-03-14Fix for crashes due to links without fromnode pointers. This can happen with ↵Lukas Toenne
"unfinished" links created during the modal linking operator or when creating links from group tree inputs. In addition don't store unfinished links in the nodetree->links list any more. This makes code a bit safer because all links in that list can be considered valid now. The temporary bNodeLinkDrag structs used by the modal linking operator are now also stored in a list in SpaceNode, so these links can be drawn too (this separation also allows different display of temporary links, e.g. currently they are drawn on top of all nodes).
2011-03-11move do_version code under latest subversion bump.Campbell Barton
2011-03-11Bugfix [#26167] Animating inside group nodes behaves strangelyJoshua Leung
One node update call (for nodes within group nodetrees) was using the wrong nodetree (node-editor's nodetree, not the group) which meant that the wrong RNA context for such nodes would get used, resulting in errors when trying to keyframe such nodes. Hopefully this is the last time I have to fix these bugs...
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-03-01Small fix for node drawing: nodes with no sockets now have a minimum height ↵Lukas Toenne
to avoid opengl drawing artifacts.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23Empty groups are now displayed with some basic spacing in edit mode. Long ↵Lukas Toenne
socket lists don't outgrow the group box any more; the box height is adjusted to fit the length of the socket list instead.
2011-02-22Added RNA functions to group tree inputs/outputs for exposing internal ↵Lukas Toenne
sockets or adding custom sockets by name and type (fixes #26171). Changed a few function names for groups for consistency.
2011-02-21Big node groups improvement patch. Node group trees now have their own lists ↵Lukas Toenne
of input/output sockets. Those can be linked to internal nodes just like links between regular nodes. In addition group sockets can be renamed and have a defined order, which can be modified, and they can be removed again. More details can be found in the patch tracker description (#24883) and on the code.blender.org development blog.
2011-02-18Bugfix #26101Ton Roosendaal
Node editor: icons in header sometimes were on wrong locations. The click hotspots were also off...
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-02-08Per-type node labels and customizable names. The label displayed in the node ↵Lukas Toenne
header is now by default the node type string. A custom label callback can be implemented to display more detailed information. This is currently used by group nodes, which display their internal tree name, and math, vector math, mix and filter nodes, which use their internal operation sub-type. Also the node tree selection/naming box for groups is now displayed only on open groups, to make it clearer that this is the internal type of the group and get a cleaner main tree.
2011-01-31Changed alpha blending mode for image editor and node previews. This was ↵Lukas Toenne
using the sum of the image and alpha-faded background, leading to almost-white transparent areas. New code uses correct GL_SRC_ALPHA for the source image.
2011-01-09several cosmetic changes to the node-editorM.G. Kishalmi
+ changed lines connecting nodes: they now use a linewidth of 1.5px for the light foreground and 4px for the dark background. this should fix node-lines not being visible on almost black or all white backdrops. + muted nodes now also show a red tinted header if they are hidden (collapsed) + both active and selected nodes show a (now properly antialiased) highlighting frame + fixed a small error in dropshadow code resulting in a gap at borders + fixed a tiny error for the collapsing indicators (triangles) - they were not symmetrical. Ton will add proper theme colors for the node-editor in the coming days.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-27Bug report #25384Ton Roosendaal
Node editor Some nodes - when muted - didn't draw a red line to indicate a pass-on action. Stil, the node then is muted and either passes on a buffer of same type, or just black. To more clearly indicate muting, it now draws the header in a reddish blended color too.
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-07Bugfix #24163a: Unable to animate INSIDE a group node in the compositorJoshua Leung
(This commit doesn't fix the original bug reported in the report, but does fix one that was discovered while investigating that one) Trying to insert keyframes for nodes within group nodes was failing. This was caused by the ID-block for those UI widgets being set to the Node Editor's current ID-block (i.e. NodeTree) vs the NodeTree that those nodes lived in. The net result was that the paths couldn't be resolved, as the paths obtained for those widgets could only work up to the group's nodetree.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-02Fix #24435: GLSL 3D view lacks refresh on node setups, patch by Lukas Toenne.Brecht Van Lommel
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-15bugfix [#24247] Duplicating a Composite Group Node no User Count IconCampbell Barton
duplicating nodes wasnt changing the usercount of the referenced ID but file loading deleting was. also removed some unused args.
2010-10-14remove unused args in draw*.c and some in view*.c, tag some as UNUSED().Campbell Barton
2010-10-09bugfix [#23868] NodeGroup font resolution problem when editing itCampbell Barton
2010-09-15Apply patch [#23779] Small cleanup with gl_roundbox*Nathan Letwory
By Luca Bonavita (mindrones) The patch renames and moves gl_round_box, gl_round_box_shade and gl_round_box_vertical_shade to UI_interface.h, so the extern usages are not needed anymore.
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-06-14Don't draw nodes that are out of the viewMatt Ebb
speeds up node editor fairly considerably on a complex comp
2010-05-03Fix [#20999] Node Header icons drawn wrongMatt Ebb
Would like to re-do this stuff properly at some stage...
2010-04-283dview --> view3d, patch by Jonathan Smith with small corrections and changes.Campbell Barton
2010-04-18was using uninitialized string for node name display, also use sizeof() ↵Campbell Barton
rather then fixed values.
2010-04-06Tweak/code shuffle to make disabled buttons draw nicer on nodes.Matt Ebb
2010-04-06Fix [#21516] UI artifacts in array modifierMatt Ebb
Modify the glClearColor used to draw disabled buttons, when creating a ROUNDBOX ui element. Made a convenience function and rippled it though, too.
2010-04-05Fix #21266: cyclic dependency checking for texture nodes was missing.Brecht Van Lommel
2010-03-29Fix [#21706] edit field in nodegroup which overlaps a node, edits the field ↵Matt Ebb
of the overlapped node
2010-03-23rna/py-api fix.Brecht Van Lommel
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument. next commit will make order of arguments consistant (currently only changed order that rna wrapped). (commit 27674 and 27683 by Campbell from render25 branch)
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-15Fix [#21288] Colour Ramp doesn't update outputMatt Ebb
Moved color ramp RNA to rna_color.c, was very texture-centric before.
2010-02-16bugfix [#20480] crash/lock-up for certain aspect ratiosCampbell Barton
2010-02-12correct fsf addressCampbell Barton