The issue was that the redo panel area would call with region type HUD (not WINDOW).
Now we make sure that the redo panel always polls the operator in the original area type context.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
The redo panel should call poll functions with the region that the operator was executed in. If we have to work around it here, there's probably other operators that have the same problem.
| source/blender/editors/interface/interface_region_hud.c | ||
|---|---|---|
| 80 | End comment with dot | |
Comment Actions
This patch actually makes blender crash when the redo panel is invoked in the scripting workspace (when doing certain operations in the 3D view port).
So I'll put off merging this till I can find the cause.
Comment Actions
This should do it. It doesn't seem to crash any more on my end and the panels are displayed correctly.