[package]
# Semantic Versioning is used: https://semver.org/
version = "1.1.6"

category = "Internal"

# Lists people or organizations that are considered the "authors" of the package.
authors = ["NVIDIA"]

# The title and description fields are primarily for displaying extension info in UI
title = "Edit Menu"
description="Implementation of Edit Menu. Undo, Redo, Select All, Select None, etc."

# URL of the extension source repository.
repository = ""

# Keywords for the extension
keywords = ["kit", "ui", "menu"]

# Location of change log file in target (final) folder of extension, relative to the root.
# More info on writing changelog: https://keepachangelog.com/en/1.0.0/
changelog = "docs/CHANGELOG.md"

# Preview image. Folder named "data" automatically goes in git lfs (see .gitattributes file).
preview_image = "data/preview.png"

[dependencies]
"omni.usd" = {}
"omni.kit.usd.layers" = {}
"omni.kit.menu.utils" = {}
"omni.command.usd" = {}
"omni.kit.selection" = {}
"omni.kit.viewport.utility" = {}
"omni.kit.notification_manager" = {}
"omni.kit.actions.core" = {}

[[python.module]]
name = "omni.kit.menu.edit"

[[test]]
args = [
    "--/renderer/enabled=pxr",
    "--/renderer/active=pxr",
    "--/renderer/multiGpu/enabled=false",
    "--/renderer/multiGpu/autoEnable=false", # Disable mGPU with PXR due to OM-51026, OM-53611
    "--/renderer/multiGpu/maxGpuCount=1",
    "--/app/asyncRendering=false",
    "--/app/file/ignoreUnsavedStage=true",
    "--/app/viewport/grid/enabled=true",
    "--/app/viewport/show/lights=true",
    "--/app/viewport/show/camera=true",
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--no-window",
]

dependencies = [
    "omni.hydra.pxr",
    "omni.kit.renderer.capture",
    "omni.kit.mainwindow",
    "omni.kit.ui_test",
    "omni.kit.material.library",
    "omni.kit.window.viewport"
]

stdoutFailPatterns.exclude = [
    "*HydraRenderer failed to render this frame*",  # Can drop a frame or two rendering with OpenGL interop
    "*Cannot use omni.hydra.pxr without OpenGL interop*" # Linux TC configs with multi-GPU might not have OpenGL available
]
