Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_topbar.py
| Show First 20 Lines • Show All 475 Lines • ▼ Show 20 Lines | |||||
| class TOPBAR_MT_file_export(Menu): | class TOPBAR_MT_file_export(Menu): | ||||
| bl_idname = "TOPBAR_MT_file_export" | bl_idname = "TOPBAR_MT_file_export" | ||||
| bl_label = "Export" | bl_label = "Export" | ||||
| bl_owner_use_filter = False | bl_owner_use_filter = False | ||||
| def draw(self, _context): | def draw(self, _context): | ||||
| self.layout.operator("wm.obj_export", text="Wavefront OBJ (.obj) - New") | |||||
| if bpy.app.build_options.collada: | if bpy.app.build_options.collada: | ||||
| self.layout.operator("wm.collada_export", | self.layout.operator("wm.collada_export", | ||||
| text="Collada (Default) (.dae)") | text="Collada (Default) (.dae)") | ||||
| if bpy.app.build_options.alembic: | if bpy.app.build_options.alembic: | ||||
| self.layout.operator("wm.alembic_export", text="Alembic (.abc)") | self.layout.operator("wm.alembic_export", text="Alembic (.abc)") | ||||
| if bpy.app.build_options.usd: | if bpy.app.build_options.usd: | ||||
| self.layout.operator( | self.layout.operator( | ||||
| "wm.usd_export", text="Universal Scene Description (.usd, .usdc, .usda)") | "wm.usd_export", text="Universal Scene Description (.usd, .usdc, .usda)") | ||||
| ▲ Show 20 Lines • Show All 402 Lines • Show Last 20 Lines | |||||