CGCookie / CGCookie/addon_common

Full Screen Causes challenges

Open
#5 8 comments 0 reactions 3 assignees Claimed by @bblanimation View on GitHub
Dominant language
Python
Stars
39
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I am still in the process of trying to figure out the exact criteria for failure but starting to collect thoughts here.

Desired Behavior:
-Have CookieCutter ops be able to go full screen on invoke, taking entire control of the UI for a very structured workflow

Current Attempts:
-Use a separate operator, a "Wizard Start" that calls bpy.ops.screen.screen_full_area() and then calls the first CookieCutter operator>
Fails: rays.py and useractions.py complain about a None types not having atrirbutes "width" etc.

-Call bpy.ops.screen_full_area() in the start() or start_ui() methods
Fails: rays.py and useractions.py complain about a None types not having atrirbutes "width" etc.


File "....\addon_common\common\useractions.py", line 167, in __init__
self.size = (context.region.width,context.region.height)
AttributeError: 'NoneType' object has no attribute 'width'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.