Changeset View
Changeset View
Standalone View
Standalone View
io_anim_acclaim/__init__.py
| Context not available. | |||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| ob = context.active_object | ob = context.active_object | ||||
| return (ob and ob.type == 'ARMATURE' and 'source_file_path' in ob) | return ob and ob.type == 'ARMATURE' and 'source_file_path' in ob | ||||
| def execute(self, context): | def execute(self, context): | ||||
| ob = context.active_object | ob = context.active_object | ||||
| Context not available. | |||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| ob = context.active_object | ob = context.active_object | ||||
| return (ob and ob.type == 'ARMATURE' and 'source_file_path' in ob) | return ob and ob.type == 'ARMATURE' and 'source_file_path' in ob | ||||
| def execute(self, context): | def execute(self, context): | ||||
| ob = context.active_object | ob = context.active_object | ||||
| Context not available. | |||||