Blender Git Commit Log

Git Commits -> Revision ce104ca

Revision ce104ca by Dalai Felinto (master)
February 26, 2019, 22:51 (GMT)
Fix: Grease Pencil data panels not working with pinning

Note: Things were working fine if you were to pin the Grease Pencil
object, but not if you were pinning the GP data.

In too many poll functions context.object was being requested when
a simple context.gpencil_data would suffit.

Panels that are still not showing in pinning:
* DATA_PT_gpencil_display.

The panel needs to be split in sub-panels, leaving all object-dependent
properties in its own panel so we can poll it away, while showing the
rest.

* * *

This commit doesn't handle greasepencil material. In this case I
recommend we do as properties_material.py and have a generous poll(),
followed by different drawing logics whether or not we have an object.

Commit Details:

Full Hash: ce104ca89643c4b0e6358fd22a2b056ecd603e62
Parent Commit: 1beada2
Lines Changed: +14, -12

1 Modified Path:

/release/scripts/startup/bl_ui/properties_data_gpencil.py (+14, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021