Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-02-27 01:40:07 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-02-27 01:51:13 +0300
commitce104ca89643c4b0e6358fd22a2b056ecd603e62 (patch)
tree933f0e3f097c0bb3db4df855739e15f385159413 /source/blender/editors/space_node/node_edit.c
parent1beada2c62dfc36fb0250dfbbc85c1745ae7325b (diff)
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.
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
0 files changed, 0 insertions, 0 deletions