System Information
Operating system: Win 10 x64
Graphics card: Nvidia 310m
Blender Version
Broken: blender-2.82-fc1f5bded46a-windows64.zip, blender-2.83-39cf62607fe5-windows64.zip
Short description of error
When deleting a Cycles sampling preset, an exception popuped, and deleting failed.
Exact steps for others to reproduce the error
- "Render Properties" panel, change Render engine to Cycles
- "Sampling" section, use "+" sign add "New Preset"
- press "-" sign right to "New Preset". Here prompt "Add a sampling preset." It should be "Delete a sampling preset."
- Exception happen, and deleting fail.
Exception info reads:
```
Traceback (most recent call last):
File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\startup\bl_operators\presets.py", line 195, in execute
if is_path_builtin(filepath):
File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\scripts\modules\bpy\utils\__init__.py", line 485, in is_path_builtin
_os.path.commonpath([parent_path, path])
File "E:\WINAPP_B\blender-2.82-c5436883c66f-windows64\2.82\python\lib\ntpath.py", line 621, in commonpath
raise ValueError("Paths don't have the same drive")
ValueError: Paths don't have the same drive
location: <unknown location>:-1
```
{F8303212}
{F8299051}
{F8299053}
{F8299055}
{F8299057}
Same issue happened to "Light Paths" preset:
"Add" should be "Delete", and Delete cause exception.
{F8299154}
{F8299159}
Hope Pasang Bomjan (irex124) don't close this task in a hurry, and give other people some time to test and confirm this bug.