Cleanup: Suppress python console warning after previous commit

Introduced in ee2f2f00bd6e183a32b8c6dbe33d88786f597b8d

Without the `register` function we get the following error in the
console when running blender:

Warning! '<path_to_blender>/scripts/startup/nodeitems_builtins.py'
has no register function, this is now a requirement for registerable
scripts

Pull Request: https://projects.blender.org/blender/blender/pulls/132091
This commit is contained in:
Sean Kim 2024-12-19 00:51:45 +01:00 committed by Sean Kim
parent 5743fba60e
commit 3e71e6c216

View File

@ -42,3 +42,11 @@ node_tree_group_type = {
'TextureNodeTree': 'TextureNodeGroup', 'TextureNodeTree': 'TextureNodeGroup',
'GeometryNodeTree': 'GeometryNodeGroup', 'GeometryNodeTree': 'GeometryNodeGroup',
} }
def register():
pass
def unregister():
pass