forked from bartvdbraak/blender
92d185faeb
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 |
||
---|---|---|
.. | ||
atomic | ||
audaspace | ||
clog | ||
cycles | ||
dualcon | ||
eigen | ||
elbeem | ||
ffmpeg | ||
ghost | ||
glew-mx | ||
guardedalloc | ||
iksolver | ||
itasc | ||
libmv | ||
locale | ||
memutil | ||
mikktspace | ||
numaapi | ||
opencolorio | ||
opensubdiv | ||
openvdb | ||
rigidbody | ||
smoke | ||
string | ||
utfconv | ||
CMakeLists.txt |