Blender Git Loki

Git Commits -> Revision 8045033

Revision 8045033 by Sebastian Parborg (master)
March 24, 2021, 15:23 (GMT)
Fix T86884: Don't remove the "line art object add" enum item

We would not add the "object line art" enum to the operator enum list,
if there were no active object in the scene.

This would make it impossible to call this operator from python code as
the enum would we hidden when we were not in a viewport context.

Always make the operator available, having no active object is not a
strict requirement for the operator to work, so expose it always.

Commit Details:

Full Hash: 80450331c7cc015f471dbafc3c783fafd1707cf5
Parent Commit: 8060293
Lines Changed: +4, -13

1 Modified Path:

/source/blender/editors/object/object_add.c (+4, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021