Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_filebrowser.py
| Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| row.prop(params, "use_filter_blendid", | row.prop(params, "use_filter_blendid", | ||||
| text="Blender IDs", toggle=False) | text="Blender IDs", toggle=False) | ||||
| if params.use_filter_blendid: | if params.use_filter_blendid: | ||||
| row = col.row() | row = col.row() | ||||
| row.label(icon='BLANK1') # Indentation | row.label(icon='BLANK1') # Indentation | ||||
| sub = row.column(align=True) | sub = row.column(align=True) | ||||
| if context.preferences.experimental.use_extended_asset_browser: | |||||
| sub.prop(params, "use_filter_asset_only") | sub.prop(params, "use_filter_asset_only") | ||||
| filter_id = params.filter_id | filter_id = params.filter_id | ||||
| for identifier in dir(filter_id): | for identifier in dir(filter_id): | ||||
| if identifier.startswith("category_"): | if identifier.startswith("category_"): | ||||
| sub.prop(filter_id, identifier, toggle=True) | sub.prop(filter_id, identifier, toggle=True) | ||||
| col.separator() | col.separator() | ||||
| ▲ Show 20 Lines • Show All 636 Lines • Show Last 20 Lines | |||||