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

Fixed AttributeError with NoneType in context.area.regions #74

Merged
merged 3 commits into from
Sep 23, 2022

Conversation

blastframe
Copy link
Contributor

I was getting this error in the System Console. This is a fix.

 for region in context.area.regions:
AttributeError: 'NoneType' object has no attribute 'regions'

I was getting this error in the System Console. This is a fix.
```
 for region in context.area.regions:
AttributeError: 'NoneType' object has no attribute 'regions'
```
Copy link
Owner

@carson-katri carson-katri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. I think someone may have reported this, I’ll look for and close that issue if so.

@carson-katri carson-katri merged commit cf8dc73 into carson-katri:main Sep 23, 2022
JasonHoku pushed a commit to JasonHoku/dream-textures that referenced this pull request Dec 20, 2022
…tri#74)

* Fixed AttributeError with NoneType in context.area.regions

I was getting this error in the System Console. This is a fix.
```
 for region in context.area.regions:
AttributeError: 'NoneType' object has no attribute 'regions'
```

* Removed extra white space

* Update operators/dream_texture.py

Co-authored-by: Carson Katri <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants