Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 12-24-2021, 09:11 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 2,875
Default API: GetSetProjectInfo/_String set project dirty when getting render-values

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
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-25-2021, 12:09 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 13,935
Default

Thanks, fixing!
Justin is online now   Reply With Quote
Old 12-25-2021, 12:13 PM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 2,875
Default

Thanks
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.