Page MenuHome

Performing a tool for the 3D view from another editor does not call the Last Operator panel
Closed, InvalidPublic


System Information
Operating system: Win 7
Graphics card: 1060 gtx

Blender Version
Broken: 2.80
Worked: (optional) 2.79b

Short description of error
Performing a tool for the 3D view from another editor does not call the Last Operator panel. It does perform the tool, but the settings are not shown.

Exact steps for others to reproduce the error

Open Blender, go to scripting layout. Load the python template script and run it. It will show in the Preferences in the Object tab.

Click at the create cube button. The cube will be created. But you won't have the Last Operator panel to adjust its settings. It does not show.

This behaviour counts for all operators that requires to do adjustments in the Last Operator in the 3D view. You have to call the operator from within the 3D view editor now.

For me this bug is a showstopper for some of my addons, and a regression. The Last Operator panel did show and work in 2.79 when i performed a 3D view tool from outside of the 3D view. But now in 2.80 it doesn't anymore. And the example script is also partly broken by this.



Related Objects

Event Timeline

I think that is because the script you are using is not actually using an Operator, so there is no Last Operator to repeat.
Try another Template instead:
When you hit Alt-P it will create a Cube already. But try to launch the Operator from 3d View by opening the Search Menu and typing "Add Box". After you hit Enter you will see the Last Operator box.
So no bug here. :)

Yes, Redo HUD is per Editor in 2.8 [wont show for Properties Editor]
I think the convention for 2.8 is more like "put your operators in the 3D view menus"...

Some related discussion in T58944...