Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sverchok imports refactoring #4823

Merged
merged 5 commits into from
Dec 19, 2022
Merged

Sverchok imports refactoring #4823

merged 5 commits into from
Dec 19, 2022

Commits on Dec 13, 2022

  1. Avoid importing half of Sverchok from settings. Also, it should fix #…

    …4281
    
    Settings were purposely imported via addon_folder_name.settings instead of sverchok.settings. I assume this was done to be able to write this: class SvPreferences: bl_idname = __package__. Because it seems that bl_idname of add-on settings should always be equal to name of add-on folder.
    Durman committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    1e545f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Optimize import old_nodes.__init__, improve logging in registration f…

    …unctions, refactoring
    Durman committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    60028f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Add automatic collecting ui modules to import and register,

    removing collecting sverchok node classes, it can be done by calling bpy.types.Node.bl_rna_get_subclass_py(bl_idname) instead,
    move UI code from utils to the ui folder,
    utils now are only registered when are imported from another core module or node.
    Durman committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    989b278 View commit details
    Browse the repository at this point in the history
  2. Use operators explicitly

    Durman committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    ddb2271 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Configuration menu
    Copy the full SHA
    543f49b View commit details
    Browse the repository at this point in the history