Skip to content

Validate script creation #25

Description

@johrstrom

We've noticed this case where

  1. You create a project from a directory that does not exist
    • there's no validation, it lets you do this
  2. You try to create a 'job setting' (script) but you cannot.

You cannot create a new job setting because you cannot choose an appropriate file to render because the project directory was invalid when you created it. The file list is populated by /scenes//[.ma|.mb].

As a user it's not apparent what's gone wrong, because it went wrong on the previous step, not this one.

It's not apparent that you can't create a new job setting (script) because you're project is bad, so let's put a check in place to ensure only valid projects get created. Valid by this standard being that it has 1 or more scene files in it's scene subdirectory.

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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Effort

    None yet

    Impact

    None yet

    Source

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions