Pyblish-lite middle mouse click


#1

Quick work around for people working without the ability to middle mouse click for errors messages (niche I know :smile: )

import pyblish.api


class LogErrors(pyblish.api.ContextPlugin):

    order = pyblish.api.IntegratorOrder + 1

    def process(self, context):

        for result in context.data["results"]:
            if not result["success"]:
                record = result["records"][-1]

                self.log.error("Path: " + record.pathname)
                self.log.error("Lineno: " + str(record.lineno))
                self.log.error("Message: " + record.msg)

#2

How about a Shift + Click or similar for you folks? :slight_smile:


#3

Doesnโ€™t seem to work for me.


#4

No no, it was a feature suggestion.


#5

Ohh, I see. That would work for me :smile: