Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Add ability to change user value for templates #3366

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Use get_openpype_username to receive value for user key in template data collection.

Description

This function is in openpype for a long time but was not fully used. It just gives ability to change username for templates instead of usign user name from machine by changing it in local settings.

Documentation

Added "user" key to available template keys.

Testing notes:

  1. Change username in local settings UI
  2. Add "{user}" to any template (e.g. publish)
  3. Do something in a way that template is filled (e.g. run publish)
  4. Check the create filepath if contains changed username from local settings

@iLLiCiTiT iLLiCiTiT self-assigned this Jun 17, 2022
@iLLiCiTiT iLLiCiTiT added type: enhancement Enhancements to existing functionality type: documentation labels Jun 17, 2022
@iLLiCiTiT iLLiCiTiT merged commit 93960da into develop Jun 20, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/use_openpype_user_intemplates branch June 20, 2022 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants