Page MenuHome

Fix T86921: Executing "Operator Cheat Sheet" Crashes Blender
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Mar 25 2021, 8:46 AM.

Details

Summary

This was only happening without an active object.

The "Operator Cheat Sheet" operator collects info about all operators,
and as part of that executes the callbacks to create dynamic enums. The
callback to enumerate the geometry operators (introduced in
rB370d6e50252b) attribute domains depends on a context object. If this
isn't available, we just have to return DummyRNA_NULL_items.

Diff Detail

Repository
rB Blender
Branch
T86921 (branched from master)
Build Status
Buildable 13713
Build 13713: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Mar 25 2021, 8:46 AM
Philipp Oeser (lichtwerk) created this revision.
This revision is now accepted and ready to land.Mar 25 2021, 12:37 PM