Blender Git Commit Log

Git Commits -> Revision 834d396

Revision 834d396 by Sybren A. Stüvel (master)
March 12, 2019, 15:17 (GMT)
Use the same string for DNA enum and CLI argument for EXR image format setting

The `--render-format` CLI option takes `EXR` and `MULTILAYER`, whereas
the DNA image format render setting uses `OPEN_EXR` and
`OPEN_EXR_MULTILAYER`. This commit adds the DNA values to the CLI
argument, so that it is possible to take the selected value from DNA and
pass it as-is to the CLI. This is used in Flamenco, for example.

The `OPEN_EXR` and `OPEN_EXR_MULTILAYER` are now aliases, so both the
existing and the new options keep working.

Reviewers: campbellbarton, brecht

Reviewed By: brecht

Subscribers: fsiddi

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D4502

Commit Details:

Full Hash: 834d3962b99df675788021766679e7e889694926
Parent Commit: e28f0f1
Lines Changed: +4, -2

2 Modified Paths:

/source/blender/blenkernel/intern/image.c (+2, -0) (Diff)
/source/creator/creator_args.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021