MCPcopy Create free account
hub / github.com/coldtype/st2 / poll

Method poll

ST2/exporting.py:314–318  ·  view source on GitHub ↗
(cls, context)

Source from the content-addressed store, hash-verified

312
313 @classmethod
314 def poll(cls, context):
315 ko = search.active_key_object(context)
316 static = ko and ko.data and not ko.st2.has_keyframes(ko)
317 if static:
318 return True
319
320 def draw(self, context):
321 layout = self.layout

Callers

nothing calls this directly

Calls 1

has_keyframesMethod · 0.80

Tested by

no test coverage detected