"Liquify" tool shortcut

For a faster use (concept art) it would be nice to be able to assign the “Liquify” tool to a keyboard shortcut.

5 Likes

I totally agree with this I even suggested it a while back. I am happy more people think the same. And it would be pretty easy to do too.

8 Likes

I’ve actually been thinking about this, wouldn’t it be better to make the Liquify tool a separate tool?

3 Likes

why you think that? i cant really see any advantage in it being a separate tool. i think it could confuse people cause you can use liquify on a transform mask, it being a separate tool people might think it doesn’t work with it.

1 Like

Well, I see it that way because there are people who mostly spend more time liquefying than transforming.

Maybe it’s also because I spent a lot of time using Gimp, so I got used to it being a separate tool.

1 Like

i see, i almost never use the liquify mode. though i still dont see what advantage it would bring, having a shortcut wouldn’t be enough in this case?

I actually use Warp more than any other. and being a different tools I don’t think it is a good idea.

it is just a shortcut to trigger what the button already does. This should be something extremely easy to do.

5 Likes

Well, the shortcut thing I think would fix the problem, I said it to make it faster to access, but it’s still something that crossed my mind :sweat_smile:

2 Likes

This script version seems to work, run with Ten Script. If not, have a look at the script of Aleksej_Andreev

from krita import *

class ActivateLiquify(Extension):
    def __init__(self, parent):
        super().__init__(parent)

    def setup(self):
        action = self.createStandardAction("activate_liquify", "Activate Liquify", None, "tools/scripts")
        action.triggered.connect(self.activate_liquify)

    def activate_liquify(self):
        liquify_tool = Krita.instance().action("liquify")
        liquify_tool.trigger()

app = Krita.instance()
plugin = ActivateLiquify(None)
app.addExtension(plugin)
1 Like

Not sure how to use the script above, but AkiR’s version works great. Just run as a Ten Script. No crashing on this one either.

from krita import (
        Krita,)
        
from PyQt5.QtWidgets import (
        QApplication,
        QDockWidget,
        QToolButton)


def call_liquify():
    app = Krita.instance()
    qwin = app.activeWindow().qwindow()
    KisToolTransform = app.action("KisToolTransform")
    KisToolTransform.trigger()
    # give krita some time to process tool change...
    QApplication.processEvents()
    # now, KisToolTransform should be fully initilized.
    liquifyButton = qwin.findChild(QToolButton, "liquifyButton")
    liquifyButton.click()


call_liquify()
1 Like

I prefer breaking up the transform tool into several individual tools, just like the select tools

1 Like

Individual shortcuts for warp, distort, liquify and transform would save so much time while painting.

You can do that using this plugin

Shortcut Composer v1.5.4 - Plugin for Pie menus, Multiple key assignment, Mouse trackers and more!

For distort… I don’t remember Krita having distort :thinking:

2 Likes