Hi!
I’ve stumbled across this nasty bug. When having multiple extents in a TMD file, rendering via an automation script will produce wrong results, i.e. modifying or rendering the wrong extent (I can’t determine which one it does).
Steps to reproduce (with WM 2.3.6 Pro x64)
So, make a TMD with two extents
Choose the second extent to be active in the GUI
Open “World extents and resolution”, check the “Locked” box for the second extent
Go to “Tiled build options” and choose to merge output into a single file
Save the TMD and exit the GUI
Create an automation script like this:
[tt]<?xml version="1.0" encoding="UTF-8" standalone="no"?>
[/tt]
(The “location” of extent #0 in the automation script is the same as in the extent #1 to illustrate the problem)
Run it:
[tt]World Machine.exe extentFailureTest.tms[/tt]
Look at the output file. Extent 0 has been rendered with the original values (i.e. the modification from the automation effectively had no effect).
I attached the world machine file and the script so the issue can be easily reproduced.