This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
3.0/feature/pype refactor start #169
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e888a60
fixed condition for multipartExr
antirotor 0896a6a
fixed mutlipartExr condition
antirotor ce805df
fixed multipartExr condition
antirotor 4b31d5a
Merge pull request #155 from pypeclub/hotfix/multipartExr-condition
mkolar 15c0c10
first step of pype's reorganization
iLLiCiTiT ad28816
fixing conflict
mkolar c4c9bb0
fixe legacy detection in extract burnin
iLLiCiTiT 939e408
Merge branch 'develop' into 3.0/feature/pype_refactor_start
iLLiCiTiT abebc23
Moved harmony to hosts
iLLiCiTiT dd862db
bump version
mkolar 8eb5f2a
Merge branch 'hotfix/review_extractors'
mkolar 09df26b
ignore case in scene version parsing
mkolar 7d62625
Merge branch 'master' into 3.0/feature/pype_refactor_start
mkolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,17 +9,13 @@ | |
from avalon.tools import workfiles | ||
from pyblish import api as pyblish | ||
|
||
from ..lib import ( | ||
any_outdated | ||
) | ||
from ...lib import any_outdated | ||
from pype import PLUGINS_DIR | ||
|
||
from . import menu | ||
from . import lib | ||
|
||
log = logging.getLogger("pype.maya") | ||
|
||
PARENT_DIR = os.path.dirname(__file__) | ||
PACKAGE_DIR = os.path.dirname(PARENT_DIR) | ||
PLUGINS_DIR = os.path.join(PACKAGE_DIR, "plugins") | ||
log = logging.getLogger("pype.hosts.maya") | ||
|
||
PUBLISH_PATH = os.path.join(PLUGINS_DIR, "maya", "publish") | ||
LOAD_PATH = os.path.join(PLUGINS_DIR, "maya", "load") | ||
|
@@ -30,7 +26,7 @@ def install(): | |
pyblish.register_plugin_path(PUBLISH_PATH) | ||
avalon.register_plugin_path(avalon.Loader, LOAD_PATH) | ||
avalon.register_plugin_path(avalon.Creator, CREATE_PATH) | ||
|
||
log.info(PUBLISH_PATH) | ||
menu.install() | ||
|
||
log.info("Installing callbacks ... ") | ||
|
@@ -153,14 +149,14 @@ def on_open(_): | |
"""On scene open let's assume the containers have changed.""" | ||
|
||
from avalon.vendor.Qt import QtWidgets | ||
from ..widgets import popup | ||
from ...widgets import popup | ||
|
||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.remove_render_layer_observer()") | ||
"from pype.hosts.maya import lib;lib.remove_render_layer_observer()") | ||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.add_render_layer_observer()") | ||
"from pype.hosts.maya import lib;lib.add_render_layer_observer()") | ||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.add_render_layer_change_observer()") | ||
"from pype.hosts.maya import lib;lib.add_render_layer_change_observer()") | ||
# # Update current task for the current scene | ||
# update_task_from_path(cmds.file(query=True, sceneName=True)) | ||
|
||
|
@@ -200,11 +196,11 @@ def on_new(_): | |
avalon.logger.info("Running callback on new..") | ||
with maya.suspended_refresh(): | ||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.remove_render_layer_observer()") | ||
"from pype.hosts.maya import lib;lib.remove_render_layer_observer()") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line too long (81 > 79 characters) |
||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.add_render_layer_observer()") | ||
"from pype.hosts.maya import lib;lib.add_render_layer_observer()") | ||
cmds.evalDeferred( | ||
"from pype.maya import lib;lib.add_render_layer_change_observer()") | ||
"from pype.hosts.maya import lib;lib.add_render_layer_change_observer()") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line too long (85 > 79 characters) |
||
lib.set_context_settings() | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (81 > 79 characters)