Add Chromium-only Blender WebEngine parity work
This commit is contained in:
6
blender-5.2.0/scripts/presets/text_editor/Internal.py
Normal file
6
blender-5.2.0/scripts/presets/text_editor/Internal.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import bpy
|
||||
|
||||
filepaths = bpy.context.preferences.filepaths
|
||||
|
||||
filepaths.text_editor = ""
|
||||
filepaths.text_editor_args = ""
|
||||
@@ -0,0 +1,12 @@
|
||||
import bpy
|
||||
import platform
|
||||
|
||||
filepaths = bpy.context.preferences.filepaths
|
||||
|
||||
filepaths.text_editor_args = "-g $filepath:$line:$column"
|
||||
|
||||
match platform.system():
|
||||
case "Windows":
|
||||
filepaths.text_editor = "code.cmd"
|
||||
case _:
|
||||
filepaths.text_editor = "code"
|
||||
Reference in New Issue
Block a user