blender/release/scripts/startup
Dalai Felinto 92d185faeb Properties Editor: Grease Pencil and pinning fixes
The UI was trying to use screen_context.c for its poll and draw
functions. So the active object and active object data and active layer
was used in the UI, instead of the context one.

Besides, for the material, the wrong context path was used altogether
when the active object was a greasepencil.

This would lead to all sort of pinning problems:

* A Mesh panel is pinned, but the active object is a grease pencil, the
grease pencil panels would show.

* If a Grease Pencil (data) panel is pinned, but the active object is not
the one pinned, nothing would show.

* Material panels and pinning were totally broken, showing the material
context for pinned mesh data panels even.

I also sanitized the name of the panels, their inheritance and poll
functions.

Reviewers: antoniov, brecht

Subscribers: billrey

Differential Revision: https://developer.blender.org/D4470
2019-03-07 20:28:25 +00:00
..
bl_app_templates_system Templates: tweaks to startup templates. 2018-12-31 16:26:22 +01:00
bl_operators Fix T61761: Randomize Transform is an object mode operator 2019-03-07 15:55:59 +01:00
bl_ui Properties Editor: Grease Pencil and pinning fixes 2019-03-07 20:28:25 +00:00
keyingsets_builtins.py CTX_DATA_BEGIN for active object only (..._from_active_object) 2018-10-19 08:31:58 -03:00
nodeitems_builtins.py Fix T60167: wrong shader nodes in Eevee add menu. 2019-01-07 17:32:40 +01:00