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

AttributeError: 'Context' object has no attribute 'active_node'. Did you mean: 'active_bone'? #35

Open
crenshawda opened this issue Dec 23, 2023 · 0 comments

Comments

@crenshawda
Copy link

When I activate discombobulator on just a regular, stock cube object and execute it (I don't think this is specific to that operator, it's just where I noticed it and what I use to reproduce it), DeepBump give me this error in the logs:

Python: Traceback (most recent call last):
  File "{BLENDER_PATH}\blender-4.0.2-windows-x64\4.0\scripts\addons\DeepBump-7\__init__.py", line 133, in poll
    if context.active_node is not None :
AttributeError: 'Context' object has no attribute 'active_node'. Did you mean: 'active_bone'?

It's actually at lines 133, 211, 277 in the DeepBump init.py file, everywhere a classmethod checks for None on the active_node attribute on the context. I'm not quite certain why the context doesn't have it in this case or I would have just fixed it and submitted a PR for this instead.

OS: Windows 10
Blender Version: 4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant