UI: Rename Add File Node operator to Add Image as Node
`Add File Node` name is too generic. This operator only handles opening images and movies as nodes, not script files or other kind of files as nodes. Pull Request: https://projects.blender.org/blender/blender/pulls/122561
This commit is contained in:
committed by
Hans Goudey
parent
01ddb320dd
commit
61783caa7f
@@ -650,7 +650,7 @@ class NODE_OT_viewer_shortcut_get(Operator):
|
||||
class NODE_FH_image_node(FileHandler):
|
||||
bl_idname = "NODE_FH_image_node"
|
||||
bl_label = "Image node"
|
||||
bl_import_operator = "node.add_file"
|
||||
bl_import_operator = "node.add_image"
|
||||
bl_file_extensions = ";".join((*bpy.path.extensions_image, *bpy.path.extensions_movie))
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user