Skip to content

EMSUSD-3078 - Flatten layers#4469

Merged
seando-adsk merged 15 commits intodevfrom
kylerasinger/dev/EMSUSD-3078_flatten_layers
Mar 2, 2026
Merged

EMSUSD-3078 - Flatten layers#4469
seando-adsk merged 15 commits intodevfrom
kylerasinger/dev/EMSUSD-3078_flatten_layers

Conversation

@kylerasinger
Copy link
Copy Markdown
Collaborator

@kylerasinger kylerasinger commented Feb 3, 2026

EMSUSD-3078: Merge with layers

Adds support for the flatten operation in USD, under the name Merge with Layers. Includes unit tests and undo/redo support in the script editor.

Adds backing up of in-memory changes to the BackupLayerBase class, affecting DiscardEdit, ClearLayer and FlattenLayer.

EMSUSD_3078-demo

Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp
Comment thread test/lib/testMayaUsdLayerEditorCommands.py Outdated
@pierrebai-adsk
Copy link
Copy Markdown
Collaborator

As I understand Julien's comments, there are issues to be addressed, so I'll wait to review

Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp Outdated
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp
Comment thread test/lib/testMayaUsdLayerEditorCommands.py Outdated
@kylerasinger kylerasinger self-assigned this Feb 18, 2026
Comment thread lib/mayaUsd/commands/layerEditorCommand.cpp
Copy link
Copy Markdown
Collaborator

@pierrebai-adsk pierrebai-adsk left a comment

Choose a reason for hiding this comment

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

Undo order and anonymous layer support

@kylerasinger
Copy link
Copy Markdown
Collaborator Author

Also added a test to cover the case where recursion would fail before the change in commit eab35de

@kylerasinger kylerasinger requested a review from deboisj February 27, 2026 18:38
Copy link
Copy Markdown
Collaborator

@deboisj deboisj left a comment

Choose a reason for hiding this comment

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

Thanks for the changes

@kylerasinger kylerasinger added the ready-for-merge Development process is finished, PR is ready for merge label Feb 27, 2026
@seando-adsk seando-adsk added workflows Related to in-context workflows labels Mar 2, 2026
@seando-adsk seando-adsk merged commit 67ae6ea into dev Mar 2, 2026
11 checks passed
@seando-adsk seando-adsk deleted the kylerasinger/dev/EMSUSD-3078_flatten_layers branch March 2, 2026 14:32
@kylerasinger kylerasinger added the enhancement New feature or request label Mar 2, 2026
This was referenced Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants