Changeset View
Changeset View
Standalone View
Standalone View
curve_simplify.py
| Context not available. | |||||
| act = animdata.action | act = animdata.action | ||||
| if act: | if act: | ||||
| fcurves = act.fcurves | fcurves = act.fcurves | ||||
| return (obj and fcurves) | return obj and fcurves | ||||
| ## execute | ## execute | ||||
| def execute(self, context): | def execute(self, context): | ||||
| Context not available. | |||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| obj = context.active_object | obj = context.active_object | ||||
| return (obj and obj.type == 'CURVE') | return obj and obj.type == 'CURVE' | ||||
| ## execute | ## execute | ||||
| def execute(self, context): | def execute(self, context): | ||||
| Context not available. | |||||