Page MenuHome

remove poll for OBJECT_OT_parent_clear
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Fri, Feb 7, 12:10 PM.

Details

Summary

This works on selected_editable_objects, so no active object mandatory.

After deletion of the active object and using slection tools such as
e.g. box select, the lack of an active object would prevent this
operator from being called without good reason.

Also cannot think of any other existing poll that would really make
sense (Editor type, ...).

ref T68975

Diff Detail

Repository
rB Blender

Event Timeline

LGTM. The ticket is doesn't mention other cases. There will be, but not sure we want to spend dev-time on finding all the cases.

This revision is now accepted and ready to land.Fri, Feb 7, 2:54 PM
This revision was automatically updated to reflect the committed changes.