-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update startup.py #69
Open
kramester
wants to merge
17
commits into
shotgunsoftware:master
Choose a base branch
from
nimbleheroes:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Added Heiro to the NUKE_9_OR_HIGHER_PRODUCTS
- added a function that scans the software entity for additinal match templates
…tch-template scan software entity for match templates
v0.12.7 from shotgun
merge SG 0.12.7 into NX master
Merging SG v0.12.7 to current NX master
@@ -110,6 +111,39 @@ def scan_software(self): | |||
|
|||
return softwares | |||
|
|||
def _scan_software_entities(self): | |||
filters = [ | |||
['sg_status_list', 'is', 'act'], |
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.
Black would make changes.
- if context is the same, dont try to update it - was causing a lag during regular saves
…tch_on_save added a context switch checker
can now pass hotkeys to registered commands
|
||
# If the app recorded a context that it wants the command to be associated | ||
# with, we need to check it against the current engine context. If they | ||
# don't match then we don't add it. | ||
if command_context is None or command_context is self.engine.context: | ||
node_menu_handle.addCommand(cmd.name, cmd.callback, icon=icon) | ||
node_menu_handle.addCommand(cmd.name, cmd.callback, hotkey, icon=icon) |
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.
Black would make changes.
updating to v0.12.10
merging in changes from shotgun_master to get updates from SG v0.12.10
v0.12.10 SG updates
Blank SW template bug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This allows Hiero to be loaded just like NukeStudio
https://github.com/shotgunsoftware/tk-config-default2/blob/master/env/includes/software_paths.yml
determine_engine_instance_name
function in here:https://github.com/shotgunsoftware/tk-config-default2/blob/master/hooks/tk-multi-launchapp/before_register_command.py
if software_version.product == "Hiero":
engine_instance_name = "tk-hiero"