You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did some more digging, and found that the context is available before the menu opens, and not available afterwards. (which I should probably have expected).
Would you be interested in a PR that remembers the current bpy.context before opening the menu? i.e. as a property on the engine or so. Then it will be cleared when the menu/windows close.
When operating from a Qt window, it seems that
bpy.context
does not know the current area, camera, etc.To Reproduce
Steps to reproduce the behavior:
bpy.context.area
,bpy.context.camera
etc. are empty, although the currently selected area in blender is the correct view.I wonder whether there is a canonical way to get to the original context.
The text was updated successfully, but these errors were encountered: