Skip to content

Workfile build cannot be automatically saved and open as first workfile when Create First Workfile is enabled in addon settings. #146

Description

@moonyuet

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

When ayon+settings://max/templated_workfile_build/profiles/0/create_first_version enabled and launch 3dsmax, the workfile set in ayon+settings://max/templated_workfile_build/profiles/0/path is not automatically saved and opened as first workfile.

Expected Behavior

When ayon+settings://max/templated_workfile_build/profiles/0/create_first_version enabled and launch 3dsmax, the workfile set in ayon+settings://max/templated_workfile_build/profiles/0/path is automatically saved and opened as first workfile.
We can implement import create_first_workfile_from_template from workfile_template_builder. py to the on_init` in pipeline.py to fix it.

Steps To Reproduce:

  1. Fill in ayon+settings://max/templated_workfile_build/profiles/0/path
  2. Make sure ayon+settings://max/templated_workfile_build/profiles/0/create_first_version enabled
  3. Launch Max

Additional context:

Version

Version of the server, ayon-core and the addon that's affected

What platform were you running when you found the bug?

Windows
Linux - Rocky9
Linux - Ubuntu
MacOS

You can also provide any additional information relevant to the issue.

Relevant log output:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions