Page MenuHome

Application templates: Custom user scripts path doesn't see app template
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.65

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)

Short description of error
Custom application template not seen by Blender in the custom Scripts path.

Exact steps for others to reproduce the error

  • From startup file.
  • Open *preferences*
  • In *File Paths* select the *Scripts* path you'll put your custom app template in.
  • In the folder you've selected, create the following path: startup/bl_app_templates_user
  • Create your custom app template in it, you can copy a default one (like 'Video Editing' and rename it as 'Test').
  • Restart Blender: the App Template is not shown.

NB: If you copy the 'Test' app template in the App Data apropriate folder, 2.81/scripts/startup/bl_app_templates_user/, it'll work.

Details

Type
Bug

Event Timeline

I can confirm this behavior, although I'm not sure if there is a design decision behind this. app_template_paths() from release/scripts/modules/bpy/utils/__init__.py uses resource_path() to retrieve the paths. It does not use script_paths() or script_path_pref() which would include the path to the custom Scripts directory.