diff --git a/README.md b/README.md index 1d0f322..de5220c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ If you use Blender, you can try the [unimenu_addon](https://github.com/hannesdel + # how to use ### load from config (YAML & JSON) diff --git a/dev/manual_tests/generic.py b/dev/manual_tests/generic.py index 7c242df..f1b62a8 100644 --- a/dev/manual_tests/generic.py +++ b/dev/manual_tests/generic.py @@ -33,7 +33,7 @@ def create_test_menus(): menu1 = unimenu.add_item("menu1") # add menu tree from config - menu2 = unimenu.setup_config(config)[0] + menu2 = unimenu.setup(config)[0] # print(menu2) # in susbtance painter, this throws a diff --git a/dev/unimenu_samples/maya_startup_plugin.py b/dev/unimenu_samples/maya_startup_plugin.py index ddc9e38..746e25d 100644 --- a/dev/unimenu_samples/maya_startup_plugin.py +++ b/dev/unimenu_samples/maya_startup_plugin.py @@ -80,7 +80,7 @@ def load_deferred(): } global menu - menu = unimenu.setup_dict(config) + menu = unimenu.setup(config) # todo use new node class diff --git a/pyproject.toml b/pyproject.toml index 8040b28..7f88861 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ 'importlib-metadata; python_version<"3.7"', ] #dynamic = ["version"] -version = "0.4.3" +version = "0.4.4" [project.optional-dependencies] yaml = ["pyyaml"]