Skip to content
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
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Conversation

kramester
Copy link
Contributor

This allows Hiero to be loaded just like NukeStudio

  • Adding Hiero to the NUKE_9_OR_HIGHER_PRODUCTS in this startup.py
  • Removing hiero references from the config here: https://github.com/shotgunsoftware/tk-config-default2/blob/master/env/includes/software_paths.yml
  • adding the following lines into the 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"

kramester and others added 7 commits April 16, 2020 11:28
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
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'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.

kramester and others added 4 commits September 19, 2020 01:07
- 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)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant