Skip to content

Commit

Permalink
Merge pull request #580 from ynput/bugfix/tvpaint-move-fixes
Browse files Browse the repository at this point in the history
TVPpaint: Fixes after movement
  • Loading branch information
iLLiCiTiT committed May 31, 2024
2 parents 0594f49 + b32291f commit 5a06f9b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions server_addon/tvpaint/client/ayon_tvpaint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .version import __version__
from .addon import (
get_launch_script_path,
TVPaintAddon,
Expand All @@ -6,6 +7,8 @@


__all__ = (
"__version__",

"get_launch_script_path",
"TVPaintAddon",
"TVPAINT_ROOT_DIR",
Expand Down
3 changes: 3 additions & 0 deletions server_addon/tvpaint/client/ayon_tvpaint/addon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import os
from ayon_core.addon import AYONAddon, IHostAddon

from .version import __version__

TVPAINT_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


Expand All @@ -14,6 +16,7 @@ def get_launch_script_path():

class TVPaintAddon(AYONAddon, IHostAddon):
name = "tvpaint"
version = __version__
host_name = "tvpaint"

def add_implementation_envs(self, env, _app):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class ImportImage(plugin.Loader):

product_types = {"render", "image", "background", "plate", "review"}
representations = {"*"}
settings_category = "tvpaint"

label = "Import Image"
order = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class LoadImage(plugin.Loader):

product_types = {"render", "image", "background", "plate", "review"}
representations = {"*"}
settings_category = "tvpaint"

label = "Load Image"
order = 1
Expand Down
3 changes: 3 additions & 0 deletions server_addon/tvpaint/client/ayon_tvpaint/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring AYON addon 'tvpaint' version."""
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion server_addon/tvpaint/package.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "tvpaint"
title = "TVPaint"
version = "0.2.0"
version = "0.2.1"
client_dir = "ayon_tvpaint"

ayon_required_addons = {
Expand Down
6 changes: 6 additions & 0 deletions server_addon/tvpaint/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[project]
name="tvpaint"
description="AYON TVPaint addon."

[ayon.runtimeDependencies]
aiohttp_json_rpc = "*"

0 comments on commit 5a06f9b

Please sign in to comment.