Page MenuHome

Outliner: Add descriptions to outliner.object_operation
Needs ReviewPublic

Authored by Jacques Lucke (JacquesLucke) on Sep 19 2019, 12:08 PM.

Details

Summary

This uses the new feature that the description of an operator can
depend on its properties.

Unfortunately, I do not know enough about some of the operations to
write useful tooltips. @William Reynish (billreynish), can you give me some tooltips
that should be used?

Currently, it just says (undocumented operator) which is a bit bad.

Diff Detail

Repository
rB Blender
Branch
object-operation-description (branched from master)
Build Status
Buildable 5030
Build 5030: arc lint + arc unit

Event Timeline

There is no need for the get_description trick. Just add a description for the operator to get rid of (undocumented operator).
The specific name & description for each operation will be taken from prop_object_op_types and all will be combined into one tooltip.
Same for OUTLINER_OT_id_operation / prop_id_op_types.