WIP paint with stylus only

Add open folder for recent models in context menu
This commit is contained in:
JannisX11 2022-07-29 18:52:30 +02:00
parent 6eb5160b8e
commit d39b18a8cc
3 changed files with 15 additions and 3 deletions

View File

@ -287,8 +287,10 @@ const Settings = {
new Setting('color_wheel', {category: 'paint', value: false, onChange(value) {
Interface.Panels.color.vue.picker_type = value ? 'wheel' : 'box';
}});
new Setting('paint_side_restrict', {category: 'paint', value: true});
new Setting('brush_opacity_modifier', {category: 'paint', value: 'pressure', type: 'select', options: {
new Setting('paint_side_restrict', {category: 'paint', value: true});
// TODO: implement paint with stylus only into paint tools
new Setting('paint_with_stylus_only', {category: 'paint', value: false});
new Setting('brush_opacity_modifier', {category: 'paint', value: 'pressure', type: 'select', options: {
'pressure': tl('settings.brush_modifier.pressure'),
'tilt': tl('settings.brush_modifier.tilt'),
'none': tl('settings.brush_modifier.none'),

View File

@ -188,6 +188,14 @@ onVueSetup(function() {
this.toggleProjectFavorite(recent_project);
}
},
{
id: 'open_folder',
name: 'menu.texture.folder',
icon: 'folder',
click() {
shell.showItemInFolder(recent_project.path)
}
},
{
id: 'remove',
name: 'generic.remove',

View File

@ -765,6 +765,8 @@
"settings.color_wheel.desc": "Use the color wheel as the main color picker",
"settings.paint_side_restrict": "Restrict Brush to Side",
"settings.paint_side_restrict.desc": "Restrict brushes to only paint on the current side",
"settings.paint_with_stylus_only": "Paint with Stylus Only",
"settings.paint_with_stylus_only.desc": "Only use the stylus for painting, reserve mouse or touch input for navigation.",
"settings.image_editor": "Image Editor",
"settings.image_editor.desc": "Default image editor to edit textures with",
@ -1491,7 +1493,7 @@
"menu.texture.file": "File",
"menu.texture.refresh": "Refresh",
"menu.texture.change": "Change File",
"menu.texture.folder": "Open in Folder",
"menu.texture.folder": "Show in File Explorer",
"menu.texture.render_mode": "Render Mode",
"menu.texture.render_mode.default": "Default",
"menu.texture.render_mode.emissive": "Emissive",