Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_dopesheet.py
| Show First 20 Lines • Show All 561 Lines • ▼ Show 20 Lines | |||||
| class DOPESHEET_PT_action(DopesheetActionPanelBase, Panel): | class DOPESHEET_PT_action(DopesheetActionPanelBase, Panel): | ||||
| bl_space_type = 'DOPESHEET_EDITOR' | bl_space_type = 'DOPESHEET_EDITOR' | ||||
| bl_category = "Item" | bl_category = "Item" | ||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| return bool(context.selected_visible_actions) | return bool(context.active_action) | ||||
| def draw(self, context): | def draw(self, context): | ||||
| action = context.selected_visible_actions[0] | action = context.active_action | ||||
| self.draw_generic_panel(context, self.layout, action) | self.draw_generic_panel(context, self.layout, action) | ||||
| ####################################### | ####################################### | ||||
| # Grease Pencil Editing | # Grease Pencil Editing | ||||
| class DOPESHEET_MT_gpencil_channel(Menu): | class DOPESHEET_MT_gpencil_channel(Menu): | ||||
| bl_label = "Channel" | bl_label = "Channel" | ||||
| ▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines | |||||