Sorry if this ends up as a bit of a big post, but I’m stumped trying to add freehand selection to panel section, and deselect to canvas section. Was able to add in reset rotation and preserve alpha, and they work fine, only because of, thankfully, the answers being in this thread.
config.ini
[PANELS]
presetChooser=1
advancedColor=1
# artisticColor=0 Broken; refuses to resize properly
digitalColors=0
specificColors=0
palette=1
layers=1
quickSettings=0
toolOptions=1
animation=0
onionSkins=0
comicsProject=0
svgSymbols=0
arrange=0
lut=0
history=0
freehandSelection=1
[SLIDERS]
brushSize=1
brushOpacity=1
brushFlow=0
canvasRotation=1
[CANVAS]
canvasOnly=1
mirrorCanvas=1
preserveAlpha=1
resetZoom=1
wrapAround=0
instantPreview=0
resetRotation=1
deselect=1
data.json
{
"panels": {
"presetChooser": {
"id": "PresetDocker",
"icon": "paintop_settings_01",
"size": [260, 335]
},
"advancedColor": {
"id": "ColorSelectorNg",
"icon": "krita_tool_color_sampler",
"size": [290, 290]
},
"artisticColor": {
"id": "ArtisticColorSelector",
"icon": "wheel-sectors",
"size": []
},
"digitalColors": {
"id": "DigitalMixer",
"icon": "krita_tool_gradient",
"size": []
},
"specificColors": {
"id": "SpecificColorSelector",
"icon": "krita_tool_color_sampler",
"size": [290, 100]
},
"palette": {
"id": "PaletteDocker",
"icon": "palette-library",
"size": []
},
"layers": {
"id": "KisLayerBox",
"icon": "duplicatelayer",
"size": []
},
"toolOptions": {
"id": "sharedtooldocker",
"icon": "light_paintop_settings_02",
"size": [306, 391]
},
"quickSettings": {
"id": "quick_settings_docker",
"icon": "gridbrush",
"size": [260, 325]
},
"animation": {
"id": "AnimationDocker",
"icon": "light_addblankframe",
"size": []
},
"onionSkins": {
"id": "OnionSkinsDocker",
"icon": "light_onion_skin_options",
"size": [100, 100]
},
"arrange": {
"id": "ArrangeDocker",
"icon": "24_light_align-horizontal-center",
"size": [100, 100]
},
"svgSymbols": {
"id": "SvgSymbolCollectionDocker",
"icon": "22_light_shape-choose",
"size": []
},
"comicsProject": {
"id": "comics_project_manager_docker",
"icon": "select-all",
"size": []
},
"lut": {
"id": "LutDocker",
"icon": "color-to-alpha",
"size": []
},
"history": {
"id": "History",
"icon": "fileLayer",
"size": []
},
"freehandSelection": {
"id": "freehand_selection_tool",
"icon": "tool-outline-selection",
"size": []
},
"canvasOptions": {
"canvasOnly": {
"id": "view_show_canvas_only",
"icon": "document-new"
},
"mirrorCanvas": {
"id": "mirror_canvas",
"icon": "mirror-view"
},
"preserveAlpha": {
"id": "preserve_alpha",
"icon": "transparency-locked"
},
"resetZoom": {
"id": "zoom_to_100pct",
"icon": "zoom-original"
},
"wrapAround": {
"id": "wrap_around_mode",
"icon": "view-grid"
},
"instantPreview": {
"id": "level_of_detail_mode",
"icon": "visible"
},
"resetRotation": {
"id": "reset_canvas_rotation",
"icon": "rotation-reset"
},
"Deselect": {
"id": "deselect",
"icon": "Deselect"
}
}
}
Looked at example script on github, and also at script school, but can’t fix it.
Not sure if the following is right re HSV either, which hope to add …
},
“HSV Adjustment”: {
“id”: “krita_filter_hsvadjustment”,
“icon”: “HSV Adjustment”
Haven’t added error message, as this post is really large, plus have removed all but the deselect attempt at this point, so the only error message would be regarding that, which I can add if wanted below, if nothing obvious is spotted in the code have added.