Changeset View
Changeset View
Standalone View
Standalone View
tests/python/bl_load_py_modules.py
| Show All 36 Lines | |||||
| if not bpy.app.build_options.freestyle: | if not bpy.app.build_options.freestyle: | ||||
| BLACKLIST.add("render_freestyle_svg") | BLACKLIST.add("render_freestyle_svg") | ||||
| if not bpy.app.build_options.xr_openxr: | if not bpy.app.build_options.xr_openxr: | ||||
| BLACKLIST.add("viewport_vr_preview") | BLACKLIST.add("viewport_vr_preview") | ||||
| BLACKLIST_DIRS = ( | BLACKLIST_DIRS = ( | ||||
| os.path.join(bpy.utils.resource_path('USER'), "scripts"), | os.path.join(bpy.utils.user_resource('SCRIPTS')), | ||||
| ) + tuple(addon_utils.paths()[1:]) | ) + tuple(addon_utils.paths()[1:]) | ||||
| def module_names_recursive(mod_dir, *, parent=None): | def module_names_recursive(mod_dir, *, parent=None): | ||||
| """ | """ | ||||
| a version of bpy.path.module_names that includes non-packages | a version of bpy.path.module_names that includes non-packages | ||||
| """ | """ | ||||
| ▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines | |||||