Commit Graph

97 Commits

Author SHA1 Message Date
e37389de77 Fix T77022: node wranger error with texture files on different drives
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
2022-01-18 11:02:26 +01:00
44c17b0116 Fix missing nodes and math operations in node wrangler
Differential Revision: https://developer.blender.org/D7461
2020-04-20 16:26:47 +02:00
0c453127e1 Fix T75430: some operators in node wrangler Shift+W menu not working
Some of these must be invoked rather than executed to show a file browser or
popup menu.
2020-04-08 12:34:03 +02:00
b81b12e13f Fix T74965: node wrangler error when there is no active node 2020-03-20 15:26:05 +01:00
7f50343d1c Addons: Use Manual URL prefix 2020-03-05 16:26:11 -05:00
bb977fbc72 Update 'bl_info' use 'doc_url' instead of 'wiki_url' 2020-03-05 12:14:43 +11:00
9896bbdb4e Fix T73882, T74420: node wrangler operations only working for Cycles and Eevee
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-03-04 08:53:39 +01:00
9541def220 Fix T73768: Node Wrangler Addon's "Connect to Cycles Viewer Node" broken
Caused by rBA8130de948d78.

Maniphest Tasks: T73768

Differential Revision: https://developer.blender.org/D6831
2020-02-13 11:07:17 +01:00
8130de948d Fix T64584: error in node wrangler with cycles add-on disabled 2020-02-12 11:31:59 +01:00
79f241abe0 Fix T63635: Node Wrangler does not set relative paths for images using Add 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
2020-02-12 10:33:15 +01:00
cf7d1fec4b node addons: add manual links 2019-12-01 12:03:08 +11:00
9fccb13c06 Node Wrangler: Typo in default Gloss names.
Reported by @jonimercado. Thanks!
2019-10-31 23:16:25 +01:00
a89261a31c Node Wrangler: Fix T69268 'Location' still pointing to Ctrl+Space
D5867 by Himanshi Kalra (calra), thx!
2019-09-25 22:26:52 +02:00
e08d6983c0 Node Wrangler: Fix T65202: keymap conflicts
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-09 10:23:22 +02:00
b4737dd86f Node Wrangler: Fix error setting Viewer Focus
Differential Revision: https://developer.blender.org/D5164
2019-07-02 11:36:24 +02:00
3687f02a66 Node Wrangler: correct handling of disabled sockets
Differential Revision: https://developer.blender.org/D5123
2019-06-27 17:22:48 +02:00
73df2edf63 Shaders: update for color space moving from node to image datablock 2019-05-13 14:09:34 +02:00
e059588947 Fix T63955: label text not used as a keyword arg 2019-04-29 12:22:49 +10:00
6e8a752d6e Node Wrangler: change NW menu shortcut to Shift+W
Ctrl+Space is already taken in 2.8

Fixes T58501
2019-03-28 21:11:56 +01:00
9f6c1c0964 Node Wrangler: update drawing code to 2.8
Reviewers: JacquesLucke

Differential Revision: https://developer.blender.org/D4517
2019-03-15 16:41:36 +01:00
61b1481728 Node Wrangler: Lazy Connect always called with menu
Once used with the 'with_menu' option this could not be used without
menu anymore.

Fixes T62469
2019-03-12 12:42:54 +01:00
d09dbb28ec Fix node wrangler spelling error.
Differential Revision: https://developer.blender.org/D3968
2019-01-23 15:30:49 +01:00
b7cca479b4 Node Wrangler: fix error adding image sequences without a nodetree
adding NWBase as a mixin will give a proper poll()

part of T60130
2019-01-04 12:06:48 +01:00
e3c9be9262 Node Wrangler: another update for 2.8
- fix error checking Render Layers outputs and unified this check
- updated Render Layers outputs [BI removed, Eevee added -- although
this distinction is unused atm...]

Fixes T59679
2018-12-21 21:14:34 +01:00
0457976a87 Rename user_preferences -> preferences 2018-12-21 12:56:42 +11:00
6a1ce20043 Merge branch 'master' into blender2.8 2018-12-19 11:56:05 +11:00
9cc2ad1eaf Fix invalid string comparisons
Identity checks should never be used with strings, it may fail based on
Python's interning logic.
2018-12-19 11:35:45 +11:00
91f9e71a39 Node Wrangler: change shortcut for menu to ctrl-shift-spacebar
- was overwriting default keymap
2018-12-10 14:37:49 +01:00
0645fd005a node_wrangler: fix panel after 'toolification' of the node editor 2018-11-28 09:33:55 +01:00
8959f1798c Update for keymap changes. 2018-11-23 15:01:27 +01:00
88b34670b8 Fix T57863: Can't enable Node Wrangler addon
needed since the removal of node tree panels in rB48c137ad5d5a
2018-11-16 12:47:12 +01:00
1c75533d9c Merge branch 'master' into blender2.8 2018-10-19 18:13:31 +02:00
d7d3233715 Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
2018-10-19 18:12:29 +02:00
62a6a224f3 Node Wrangler: Fix required keyword in addons preferences 2018-10-15 15:42:48 +02:00
5df1106c7b Node Wrangler: Update Principled Auto Setup to use displacment node
- use diplacement node instead of two math nodes now
- better spacing of nodes
- add frames around textures an mapping nodes
2018-10-15 15:31:18 +02:00
96cb6c0668 Update for new icon set. 2018-10-09 18:56:54 +02:00
cd90aa081b Fix T56942: node wrangler backdrop error. 2018-09-28 10:33:31 +02:00
1a5f14657e node-wrangler: fix warnings by making fields for properties 2018-08-07 15:55:04 +02:00
c24fa9fdf2 node-wrangler: Remove use of register_module 2018-08-07 09:52:29 +10:00
2fe5b9c9c1 node-wrangler: Remove use of register_module 2018-08-07 09:37:51 +10:00
9dc19735c3 Python: use fields 2018-07-12 15:09:15 +02:00
6aa8e130ef Update for renaming lamp to light. 2018-07-06 19:59:17 +02:00
14d7a60d86 Node wrangler: update to work with Eevee. 2018-07-03 14:47:32 +02:00
33e2d5e30e node_wrangler: version bump 2018-07-03 11:27:08 +02:00
9ae033c49c Fix T55431: Node Wrangler: Lazy connect / Lazy mix not working
was caused by recent clickdrag event changes
2018-06-11 11:44:07 +02:00
b678ef752f Fix T54789: A Simple Typo in the "Node Wrangler" Addon 2018-04-24 11:34:47 +02:00
426a14a68b Fix T52548 missing render layer socket names (fix for 2.79 release)
also turned some tuples into namedtuples for better readability
2017-08-29 12:22:33 +02:00
f9e45007a9 node wrangler: use 2.78 in bl_info, to avoid warnings 2017-07-14 18:10:58 +10:00
7ec7282e72 correct displacement description 2017-07-13 17:11:32 +02:00
91ce3ecd83 NW: Add "displace" and "heightmap" keywords 2017-07-13 14:57:57 +02:00