fix(web): pass screen context to embedded menu operators
- Add screen=window.screen to the desktop_operator temp_override and invoke repeat-last/history with a VIEW_3D area. repeat_last still requires a WM runtime operator stack, which the embedded host does not retain; recorded as a residual. - Refresh WebEngine wasm (58325d97) and record view-layer add/remove and repeat-last evidence. Acceptance remains NOT_CLAIMED. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -545,7 +545,7 @@ def desktop_operator(request, *, _invoke=False):
|
||||
converted[name] = value
|
||||
return converted
|
||||
|
||||
with context.temp_override(window=window, area=target[0], region=target[1]):
|
||||
with context.temp_override(window=window, screen=window.screen, area=target[0], region=target[1]):
|
||||
active = context.active_object
|
||||
if native and point_cache_target is not None and (active is None or active.session_uid != point_cache_target['ownerSessionUid']):
|
||||
raise RuntimeError('OPERATOR_POINT_CACHE_OWNER_CHANGED')
|
||||
|
||||
Reference in New Issue
Block a user