Skip to content

Commit

Permalink
Added instructions in the README about how to enable the Shotgun plug…
Browse files Browse the repository at this point in the history
…in the first time the engine is run.

Fixed an issue with the min compatibility dialog, also up the version to accommodate the latest version of Krita.
  • Loading branch information
diegogarciahuerta committed Jul 19, 2020
1 parent 10dfaa7 commit 96371e6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,17 @@ If we now go back and forth from our project in shotgun desktop ( < arrow top le

<img src="./config/images/engine_is_configured.png" width="50%" alt="engine_is_configured">

## Enable the Shotgun Plugin Engine within Krita

One last step! The first time that you use the integration, you will have to make sure the Shotgun Engine plugin is enabled within Krita.

You can find this option by accessing the Plugin Manager options:
`Settings > Configure Krita > Python Plugin Manager ... > Shotgun`

Mark the Shotgun plugin as active and make sure you restart Krita from Shotgun Desktop. Once this is done, a new `Shotgun` menu will be shown in the menu bar.

<img src="./config/images/enable_plugin.png" width="50%" alt="engine_is_configured">


## Krita engine options:

Expand Down
2 changes: 1 addition & 1 deletion engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def init_engine(self):
show_error(msg)
raise tank.TankError(msg)

if krita_ver > MIN_COMPATIBILITY_VERSION + 1:
if krita_ver > MIN_COMPATIBILITY_VERSION:
# show a warning that this version of Krita isn't yet fully tested
# with Shotgun:
msg = (
Expand Down
2 changes: 1 addition & 1 deletion info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ configuration:
it isn't yet fully supported and tested with Toolkit. To disable the warning
dialog for the version you are testing, it is recomended that you set this
value to the current major version + 1."
default_value: 3
default_value: 5

debug_logging:
type: bool
Expand Down
2 changes: 1 addition & 1 deletion startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class KritaLauncher(SoftwareLauncher):
# sources, krita docs, krita installation in different OSs.
# Worse case we use to a env variable "$KRITA_RESOURCES_PATH" so it can be
# configured externally

USER_PLUGINS_ROOT_PATH = {
"darwin": [
"$KRITA_RESOURCES_PATH",
Expand Down

0 comments on commit 96371e6

Please sign in to comment.