Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-20Fix T101708: Bug when joining nodes with thick linesDamien Picard
Caused by D15961, which changed the behavior of `dpi` and `pixel_size`. Instead of using a single value for `dpifac` (renamed to `dpi_fac`), use a value depending on whether we want pixel density or line width. This patch has the side-effect that the line width from the user preferences is now respected. It seems more logical that way, but I can't test with a hi-dpi display to see how that looks. If we want to get the old behavior back, we can just get rid of `prefs_line_width()` and replace its calls with `dpi_fac()`. A similar issue was also fixed for Icon Viewer.
2022-10-20Fix T71100: Node Wrangler creates nodes on linked node treesDamien Picard
Change the global poll function to check that the node tree is not from a library, disabling most Node Wrangler operators. This fixes the issue, not only for material nodes as in the original report, but also on compositing node trees from linked scenes and geometry nodes.
2022-10-14Cleanup: fix typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D16234
2022-09-22Node Wrangler: replace deprecated bgl moduleGermano Cavalcante
Part of T80730
2022-08-25Fix: nodewrangler error accessing space.node_tree when not availablePhilipp Oeser
Revert part of rBAad1966474ed2 in nw_check() which was giving no benefit afaict (and instead tried to access space.node_tree for Spaces other than the Node Editor, spamming the console with errors). Differential Revision: https://developer.blender.org/D15770
2022-07-25Node Wrangler: use utility function to populate switch menuScott Ramsay
Currently, the nodes in the Switch menu (Shift+S) are generated from Node Wrangler's own long static list of categories and nodes, which often goes out of sync when Blender changes. This changes to using the node_categories_iter utility which uses the correct list of available nodes from nodeitems_builtins.py. The submenu classes are now procedurally generated and registered in the same fashion as the add menu, but just with a different operator in their draw function. Removing the static lists required a couple changes outside of the Switch menu. Mostly having to compare types using the verbose node.rna_type.identifier. Includes improvements on the original patch by Benni Merz.
2022-07-25Fix T83719: Node Wrangler: broken node outline when fast connectingVincent Blankfield
No need to subtract scroll bar widths as they are hidden by default in 2.80+.
2022-07-25Fix T84451: Node Wrangler: change label from Swap Outputs to Swap LinksOliver Weissbarth
The Operator is internally called "Swap Links" and the manual also calls it "Swap Links" as it can swap inputs and outputs. Differential Revision: https://developer.blender.org/D10031
2022-07-25Fix T96194: Node Wrangler: use enabled sockets for lazy mixLeon Schittek
Add utility function to check for the first output that is actually enabled rather than always using the first output of a node. The previous behavior would lead to confusing situations, where a mix/math node was added but didn't seem to be connected, when the first output was currently disabled. Differential Revision: https://developer.blender.org/D14251
2022-07-25Fix T97724: Node Wrangler: better align nodes on texture setupLeon Schittek
* The added nodes are now top aligned with the nodes they belong to. This looks nicer and works independent of screen DPI. * There is a vertical offset based on the socket the added nodes are connected to. This prevents nodes from overlapping too much, when executing the texture setup several times in a row. * Ignore disabled sockets, which would create nodes seemingly connected to nothing. Differential Revision: https://developer.blender.org/D15031
2022-07-05Node Wrangler: remove obsolete Emission Viewer codeBenni Merz
Differential Revision: https://developer.blender.org/D15350
2022-07-05Node Wrangler: expose Custom Color property in the Frame Selected operatorBenni Merz
Differential Revision: https://developer.blender.org/D15320
2022-07-05Fix T94290: node wrangler misconnects some nodesWannes Malfait
Differential Revision: https://developer.blender.org/D15373
2022-06-10Node Wrangler: create world output if the node tree is of type worldDamien Picard
When using the node.nw_link_out operator (O key) in a world node tree, a material output would be created instead of a world one.
2022-06-10Fix T92871: Node Wrangler: connect to output shortcut in Geo NodeDamien Picard
This implements the use of shortcut `O` to connect the first geometry output of the active node, to the group output. Right now, only geometry is concerned, and the operator is cancelled if another output type is found, such as an `int`.
2022-06-10Node Wrangler: make preference hotkey list filter update interactivelyDamien Picard
2022-06-06Fix T98610, T57542: missing relative path option for image sequencesBrecht Van Lommel
2022-05-23Node Wrangler: update for modified Hue/Saturation node nameBrecht Van Lommel
Ref D14914
2022-05-11Fix T98039: Node Wrangler node preview no longer workingCampbell Barton
Update for changes in Blender.
2022-04-21Fix T97105: change Vertex Colors menu to Attributes in Node WranglerRamil Roosileht
Differential Revision: https://developer.blender.org/D14668
2022-03-10Node Wrangler: fix node outline position with ui scalingIyad Ahmed
Differential Revision: https://developer.blender.org/D14285
2022-02-21Node Wrangler: more textures for principled texture setupLeon Schittek
Differential Revision: https://developer.blender.org/D14134
2022-02-11File headers: use SPDX license identifiersCampbell Barton
See T95597
2022-01-05Cleanup: fix typos in source codeBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D5801
2022-01-05Cleanup: fix types in source codeBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D5801
2021-12-01Cleanup: quiet character escape warningsCampbell Barton
2021-10-30Node Wrangler: fix switch menu omitting entries after separatorsScott Ramsay
Differential Revision: https://developer.blender.org/D13023
2021-08-26Node Wrangler: remove unnecessary codejim man
Differential Revision: https://developer.blender.org/D12076
2021-08-24Fix T77022: node wranger error with texture files on different drivesIyad Ahmed
Principled texture setup with relative path option would lead to this, silently use an absolute path instead like other Blender operators. Differential Revision: https://developer.blender.org/D12221
2021-08-11Cleanup: strip trailing space, remove BOMCampbell Barton
2021-07-16Cleanup: node wrangler, use dict in `nice_hotkey_name()`jim man
Rewrite `nice_hotkey_name()` to use a `dict` instead of a loop over a list of tuples. Reviewed by: sybren Differential Revision: https://developer.blender.org/D11943
2021-07-05Node Wrangler: change preview shortcut for geometry nodesJacques Lucke
The ctr+shift+LMB was in conflict with the new viewer node introduced in rB9009ac2c3d62e0d30d96b8d35ff5ff620cfe053b. Since the builtin viewer node does not support viewport visualization yet, the operator is still kept in node wrangler. Just the shortcut is changed to shift+alt+LMB. Differential Revision: https://developer.blender.org/D11786
2021-06-01Node Wrangler: update for Geometry Nodesv2.93.1v2.93.0Wannes Malfait
Node Wrangler can now be used in the Geometry Nodes editor. Summary of the changes for Geometry Nodes: * Pressing ctrl+shift+LMB will now connect the geometry socket of the node (if it exists) to the output socket of the modifier. This is similar to the functionality already present for shader and compositor nodes. * Nodes can be merged using a Join Geometry (default) or Boolean node. * `LinkToOutput` and `ReloadImages` have been disabled, because they don't make sense for geometry nodes. * Other operators work like they do for the other node tree types. In D9748 and in chat it was accepted that this patch can be merged into the 2.93 release branch, even though we are quite late in the release process already. Differential Revision: https://developer.blender.org/D9748
2020-04-29Fix T76226: Crash when using node wrangler in pinned windowDavid Friedli
Differential Revision: https://developer.blender.org/D7567
2020-04-24Node Wrangler: Version bumpGreg Zaal
2020-04-24Node Wrangler: support emission viewer inside node groupsDavid Friedli
Differential Revision: https://developer.blender.org/D6956 Reviewers: gregzaal
2020-04-20Fix missing nodes and math operations in node wranglerWannes Malfait
Differential Revision: https://developer.blender.org/D7461
2020-04-08Fix T75430: some operators in node wrangler Shift+W menu not workingBrecht Van Lommel
Some of these must be invoked rather than executed to show a file browser or popup menu.
2020-03-20Fix T74965: node wrangler error when there is no active nodeBrecht Van Lommel
2020-03-06Addons: Use Manual URL prefixAaron Carlisle
2020-03-05Update 'bl_info' use 'doc_url' instead of 'wiki_url'Campbell Barton
2020-03-04Fix T73882, T74420: node wrangler operations only working for Cycles and EeveeBrecht Van Lommel
There were legacy checks remaining for Blender Internal, however now we can assume that any renderer using the native shader node tree is also using Cycles and Eevee shading nodes. Custom shader nodes will have a different type of node tree.
2020-02-13Fix T73768: Node Wrangler Addon's "Connect to Cycles Viewer Node" brokenPhilipp Oeser
Caused by rBA8130de948d78. Maniphest Tasks: T73768 Differential Revision: https://developer.blender.org/D6831
2020-02-12Fix T64584: error in node wrangler with cycles add-on disabledBrecht Van Lommel
2020-02-12Fix T63635: Node Wrangler does not set relative paths for images using Add ↵Santeri Salmijärvi
Texture Setup (Ctrl+Shift+T) Using absolute paths for texture images break materials if the project is moved to another location or computer. Relative paths are also the default option in Image Texture Node's file view. This adds a toggle to use relative paths when adding a texture setup for Principled BSDF. The option is selected by default to match Image Texture Node's behavior. Tested on Blender v2.81.16 (Windows) Reviewed By: lichtwerk, mont29 Maniphest Tasks: T63635 Differential Revision: https://developer.blender.org/D6756
2019-12-01node addons: add manual linksmeta-androcto
2019-11-01Node Wrangler: Typo in default Gloss names.Pablo Vazquez
Reported by @jonimercado. Thanks!
2019-09-25Node Wrangler: Fix T69268 'Location' still pointing to Ctrl+SpaceHimanshi Kalra
D5867 by Himanshi Kalra (calra), thx!
2019-07-09Node Wrangler: Fix T65202: keymap conflictsPhilipp Oeser
Since CTRL+LMB is now taken by 'cut links' in blenders default keymap, this was conflicting with nodewranglers 'lazy connect' and unfortunately we have to step aside here. This commit shifts shortcuts: lazy connect (CTRL+LMB --> ALT+RMB) lazy connect with menu (CTRL+SHIFT+LMB --> ALT+SHIFT+RMB) lazy mix (ALT+RMB --> CTRL+SHIFT+RMB) This keeps the two 'lazy Connect' on a common "base" key and just moves 'lazy mix'
2019-07-02Node Wrangler: Fix error setting Viewer FocusSebastian Koenig
Differential Revision: https://developer.blender.org/D5164