When I have the Render to File-dialog opened, the following line makes the project dirty, although nothing is changed.
This doesn't happen, when the Render to File-dialog is closed:
Code:
AA=reaper.GetSetProjectInfo(ReaProject, "RENDER_SETTINGS", 0, false)
Also happens with RENDER_BOUNDSFLAG, RENDER_CHANNELS, RENDER_SRATE, RENDER_STARTPOS, RENDER_ENDPOS, RENDER_TAILFLAG,
RENDER_TAILMS, RENDER_ADDTOPROJ, RENDER_DITHER, RENDER_NORMALIZE, RENDER_NORMALIZE_TARGET, RENDER_BRICKWALL
but not PROJECT_SRATE and PROJECT_SRATE_USE.
Same goes with GetSetProjectInfo_String, but also only the render-related ones...
Code:
AA=reaper.GetSetProjectInfo_String(ReaProject, "RENDER_TARGETS ", 0, false)
RENDER_FILE, RENDER_PATTERN, RENDER_METADATA, RENDER_TARGETS, RENDER_STATS, RENDER_FORMAT, RENDER_FORMAT2 make the project dirty.
Tested on Reaper6.43rc4 on Windows 7