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:
Guillermo Venegas
2025-03-21 22:49:13 +01:00
committed by Hans Goudey
parent 01ddb320dd
commit 61783caa7f
5 changed files with 16 additions and 16 deletions

View File

@@ -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