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

Flame: support for comment with xml attribute overrides #2892

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Mar 15, 2022

Brief description

Supporting timeline segment comments with xml overrides.

Description

Client was requesting multiple resolution with custom values to be used during exporting in publish. This could only by supported by some sort of input values and segment's comment is the best way to do it as it is supporting multiple selected segments' input. The supported syntax is described lower.

Additional info

We are supporting following attributes: width, height, pixelAspect, resizeType, resizeFilter and additionally also resolution (with multiple input string >> 1920x1080x1.5). User can add to the segment comment following text: resolution: 1920x1080x1.5; resizeType: fill and it will be resolved to:

  • width: 1920
  • height: 1080
  • pixelAspect: 1.50
  • resizeType: fill

This will be dynamically added to xml preset override before the the sequence will be processed. It will be also set on resolutionWidth, resolutionHeight, pixelRatio on a shot/asset data.

dependencies

this PR is based on #2869

@ynbot
Copy link
Contributor

ynbot commented Mar 15, 2022

@jakubjezek001 jakubjezek001 self-assigned this Mar 15, 2022
@jakubjezek001 jakubjezek001 added host: Flame Autodesk Flame integration type: feature Larger, user affecting changes and completely new things labels Mar 15, 2022
@jakubjezek001 jakubjezek001 marked this pull request as ready for review March 15, 2022 13:54

# get pattern defined by type
pattern = TXT_PATERN
if a_type in ("number" , "float"):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace before ','

@jakubjezek001 jakubjezek001 merged commit 0f2ca2e into develop Mar 17, 2022
@jakubjezek001 jakubjezek001 deleted the feature/OP-2731_Flame-rendering-presets-resolution-and-regex-comment-filter branch March 17, 2022 13:50
@mkolar mkolar added this to the next milestone Mar 17, 2022
@mkolar mkolar removed the type: feature Larger, user affecting changes and completely new things label Mar 17, 2022
@mkolar mkolar added the type: enhancement Enhancements to existing functionality label Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Flame Autodesk Flame integration type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants