ynput / ayon-cinema4d

AYON Cinema4D integration
Apache License 2.0
3 stars 0 forks source link

Load Camera: Do not strip off parents from the imported camera #7

Open BigRoy opened 1 month ago

BigRoy commented 1 month ago

Is there an existing issue for this?

Current Behavior:

The camera loader currently assumes the loaded product contains only one object, the one camera, without parent hierarchy.

The code does allow skipping over parent objects - but they will be excluded from the load/import and hence if they happened to have transformation that transformation is lost.

Expected Behavior:

Load the camera including any parent hierarchy in the loadef file.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Publish camera product with parent groups above the camera (non-baked to world-space camera)
  2. The parent groups are excluded in the load camera - and hence their motion will be lost.

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response