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-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-09-11minor edits / cleanup - no functional changes.Campbell Barton
- use 'const float *' and array size in some function declarations. - replace macros for BLI_math functions INPF, VECCOPY, VECADD etc. - remove unused VertRen.clip struct member. - remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3(). - use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-08Minor fixes for some unfounded clang warnings.Lukas Toenne
2011-09-07Node comparison function for sort order did not take parent selection into ↵Lukas Toenne
account.
2011-09-07Updating render layer and image output sockets was not working due to ↵Lukas Toenne
changes in snode_set_context. Before the r39941 this used a hack to 'test for first drawing', but since the snode->nodetree was set to NULL each time at the start of that function the condition would always evaluate true anyway. Simply removed that check to restore previous behavior.
2011-09-07Fixed offset for socket remove buttons ('x') in node groups.Lukas Toenne
2011-09-06Enabled the 'Layout' node category, currently only containing the 'Frame' ↵Lukas Toenne
node. Both the category and the node could be renamed as needed. The frame node is largely experimental and not totally useful yet, but much asked for, so can't hurt to let people try it out.
2011-09-06Fix for wrong offset of the input socket column in group node tree display.Lukas Toenne
2011-09-06fix some complier warnings and add -Wundef to CMake's default GCC warnings.Campbell Barton
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-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
2011-08-25Patch for bug #28289Jeroen Bakker
updated the logic behind node delete with reconnect. When on input and output socket is connected, these two will be reconnected see bug report for example. http://projects.blender.org/tracker/?func=detail&aid=28289&group_id=9&atid=498
2011-08-21Fix #28154: linux3-config.py doesn't existSergey Sharybin
Change OURPLATFORM from "linux<major_version>" to simple "linux". Since new policy for linux kernel versions that major version in platform doesn't make much sense for building rules so the same rules could be used for both of linux2 and linux3 now/ Tested on both of linux2 and linux3 systems.
2011-08-21Small fix, report in IRC by Olivier:Ton Roosendaal
Click in Compositor on output node invoked a re-composite. Only has to be done for inactive outputs.
2011-08-162.6 Node Muting:Thomas Dinges
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.
2011-08-15Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unusedBrecht Van Lommel
functions.
2011-08-12Nodes: make node set active function usable outside of node editor, and in doingBrecht Van Lommel
so fix a missing updating when activating a node with multiple node editors open.
2011-08-04UserPref/Node editor feature: Change the level of noodle curving.Jeroen Bakker
Some people like curved lines, other hate them. This commit will let the user change the level of curving. In UserPreferences=>Themes=>Node editor=>Noodle curving the level can be modified. Allowed range is 0-10 with the default on 5 The patch will default everything to the way blender works ATM. File subversion has been increased otherwise older 258 files got straight lines. The data is stored in the ThemeSpace.noodle_curving the bezierdrawing is done in the drawnode. Also tested the Line cut tool
2011-07-29When relinking node group outputs from sockets of different type, ↵Lukas Toenne
automatically change the output to the source type. Feature request by Daniel Salazar.
2011-07-27fix [#28098] Continuous Grab does not work for movement of the "Backdrop" in ↵Campbell Barton
the Node Editor
2011-07-27more minor warning cleanups and improve error reporting if text fails to save.Campbell Barton
2011-07-22Two fixes in drop-node-on-noodle:Ton Roosendaal
- Intersection code was using undefined vector caused wrong lines to be picked - Code now also copes with hidden sockets. If all fails, is just unhides a good socket.
2011-07-22Small fix in drop-node-on-noodle: intersect code only did 3 edges ofTon Roosendaal
node.
2011-07-22Need some fun once a while:Ton Roosendaal
On dragging a non-connected node on a noodle, it will insert it. Functionality tweaks are possible, but it already feels non-intrusive. Rules: - Insertion only when a single noodle is intersecting with node. - Default connects first matching socket type. - If no socket match, it connects the first.
2011-07-17Modified behavior when replacing input links: The new target socket for the ↵Lukas Toenne
existing link is now chosen from available sockets that match the _target_ type, instead of the source type. This leads to more usable replacements, e.g. for toggling inputs on mix nodes. Still not a great solution to the mute/autoconnect problem, but a bit more intuitive for replacements.
2011-07-17Changed the default keys for duplicate-nodes-while-keeping-input-links to ↵Lukas Toenne
ctrl+shift+dkey, to avoid conflicts with alt+dkey for linked duplicates.
2011-07-17Little modification of the duplicate operator on artist request: The default ↵Lukas Toenne
behavior (shift+dkey) is now to copy nodes and internal links, but not the input links from unselected nodes. This feature is available with the alternate duplicate operator (alt+dkey).
2011-07-17Removed the autoconnect call when adding new nodes, this hardly ever gives ↵Lukas Toenne
usable results and leads to annoyed artists.
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17Added notifier listener for node editor.Sergey Sharybin
Now it behaves right on playback: - Starting playback "Anim Player" button appears on header. It used to appear only on mouse hover before. - Stopping playback triggers refresh on compositor, so actual result would be visible if image sequence/movie is used in nodes.
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-07-04Updated the indent, sorry!Jeroen Bakker
2011-07-04====== Proposal: Nodes property windows enhancement ======Jeroen Bakker
===== Situation before this patch ===== in the current situation inside the node editor there is a properties panel (press 'n'-key). This pabel displays some information about the node, backdrop and grease pencil. The UI of the property panel is typically vertical oriented. Nodes in the other hand are not oriented in a direction. Both area's are draw via the same draw function. With some nodes this will create not user-friendly UI. Try the color-balance for instance). The 3 color circles are drawn next to each other, it would be better to draw them below each other. When creating more complex nodes you don't want to display all handles in the node-panel and in the properties panel. For instance fine-tuning handles you only want to appear in the property panel to reduce place in the node itself. ===== Situation after this patch ===== This patch separates the draw functions of the property panel and the node panel. When no special draw function is created for the property panel, the draw function of the node will be used as 'fallback' ===== Impact ===== ==== BKE_node.h ==== add a new uifunc (called uifuncbut) to the bNodeType struct. The definition is the same as the uifunc. ==== node_buttons.c ==== if the uifuncbut is set, call it. currently calls the uifunc method ==== drawnode.c ==== static void node_composit_set_butfunc(bNodeType *ntype). set the uifuncbut function where needed. When at the end of the method uifuncbut is still empty, set uifuncbut to the uifunc. ===== Final note ===== ! PS. this is not limited to the compositor it also works for Materials and Textures ! ! PPS. For other branching creating their own node-tree. Please make sure that your uifuncbut is set NULL or a valid draw function !
2011-06-30When duplicating nodes in a tree, also copy the links between selected ↵Lukas Toenne
nodes, as well as input links from non-selected to selected nodes.
2011-06-17Bugfix, irc report:Ton Roosendaal
Adding new material in active node didn't update the material properties buttons.
2011-06-14Nodes display now follow 'DPI' user pref tooTon Roosendaal
2011-06-11Bugfix #27105Ton Roosendaal
Node editor: collapsed node didn't allow to size it using the right hand side grab thingemabobs.
2011-06-06Added cancel callbacks to modal operators which allocates memorySergey Sharybin
in invoke callback. This prevents unfreed memory blocks when quiting Bledner with modal operator running.
2011-06-01Fix #27550: texture node editor header was still showing texture datablockBrecht Van Lommel
selector even if there is no active texture slot or node, now it's disabled in that case.
2011-05-31cmake maintenanceCampbell Barton
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
2011-05-28wrong rna access function used in node UICampbell Barton
2011-05-20use event->mval rather then subtracting ar->winrct.x / y from event->x / yCampbell Barton
2011-05-20use BKE_area_find_region_type in place of inline loops (no functional changes).Campbell Barton
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-05-02Fix #27098: missing 3d view updates when editing GLSL material nodes.Brecht Van Lommel
2011-05-01improve image sequence usability, problem was when the image didn't load ↵Campbell Barton
there was no way to know the frame that blender was attempting to read. added a label for image sequence images showing the image file's frame, even when not able to load, this also gives realtime feedback to the user while dragging the frame offset/start/duration buttons about so they can better understand how these settings work.
2011-04-24harmless changes to quiet clang static check warnings.Campbell Barton
- made EXPANDED_AGRP take bAnimContext as an argument. - remove unneeded NULL check drawFacesColored functions. - comment some vars which are set but not used.
2011-04-23Color info in node editor backdrop now supports color management.Lukas Toenne
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton