Logo
Explore Help
Sign In
1berry/blender
1
0
Fork 0
You've already forked blender
Code Issues Packages Projects Releases Wiki Activity
blender/scripts/modules/bpy_extras/node_utils.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
273 B
Python
Raw Normal View History

File headers: SPDX License migration Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-11 09:07:11 +11:00
# SPDX-License-Identifier: GPL-2.0-or-later
Bpy Extras: Port cycles node functions to new node_utils.py
2017-05-30 17:15:58 +02:00
__all__ = (
"find_node_input",
Cleanup: pep8
2018-07-03 07:13:27 +02:00
)
Bpy Extras: Port cycles node functions to new node_utils.py
2017-05-30 17:15:58 +02:00
# XXX Names are not unique. Returns the first match.
def find_node_input(node, name):
for input in node.inputs:
if input.name == name:
return input
return None
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1017ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API