-
Sybren A. Stüvel authored
`context.object` can be None, so a poll function should not access `context.object.type` without prior check.
Sybren A. Stüvel authored`context.object` can be None, so a poll function should not access `context.object.type` without prior check.