ynput / OpenPype

Main OpenPype repository and AYON openpype addon codebase
https://openpype.io
MIT License
280 stars 128 forks source link

Add shortcut to open template for current context #6181

Closed tokejepsen closed 4 months ago

tokejepsen commented 5 months ago

Changelog Description

Replacement for https://github.com/ynput/OpenPype/pull/4953 with resolved comments.

Testing notes:

  1. Add a template for your context in the settings
  2. Click on open template 237122104-d51be424-19ef-47d7-81b7-7e0d6a69b595
tokejepsen commented 5 months ago

@ClementHector could you have a look as well?

LiborBatek commented 5 months ago

Maybe offtopic but how about to add rollout menu with premade template files as well a list when triggering

Build Work File from Template > Template_Lighting_Outdoors.ma .......................................................................Template_Lighting_Interior.ma etc

It would be pretty useful to be able to have multiple templates available (listing any maya scene at that location for current context)

Just an idea maybe for other PR?

tokejepsen commented 5 months ago

Just an idea maybe for other PR?

@LiborBatek could you make an issue for this? Wont be part of this PR.

BigRoy commented 5 months ago

Maybe offtopic but how about to add rollout menu with premade template files as well a list when triggering

Build Work File from Template > Template_Lighting_Outdoors.ma .......................................................................Template_Lighting_Interior.ma etc

It would be pretty useful to be able to have multiple templates available (listing any maya scene at that location for current context)

Just an idea maybe for other PR?

Honestly at that point we're maybe better of implementing https://github.com/ynput/ayon-core/issues/742 That way it would at least be as easy as browsing via the Loader or alike.

LiborBatek commented 5 months ago

@BigRoy totally yes! ...I have not been aware of that one. thx

tokejepsen commented 5 months ago

@LiborBatek did you test this? Could you approve if its tested?

mkolar commented 4 months ago

Because we're splitting OpenPype into ayon-core and individual host addons, this PR would have to be re-created to target one of those.

We're closing it down, but we'll he happy for a new PR to ynput/ayon-core or the host addon repository once it's up.