Old 05-16-2018, 04:21 AM   #1
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default Plz explain GetMasterTrackVisibility() returned values?

"returns &1 if the master track is visible in the TCP, &2 if visible in the mixer"


Thus, I expect the returned values to be:
Code:
0 = visible nowhere
1 = tcp
2 = mcp
3 = both

But it is like that:
Code:
 
0 = mixer
1 = both
2 = visible nowhere
3 = tcp

Why?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-16-2018, 05:00 AM   #2
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

I'm seeing correct behavior for the TCP - &1 is switched. For the MCP, &2 is false if the Master is visible in the mixer but true for all other cases - not visible, visible in a separate window, visible in a docker.

Guessing it's a bug.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna 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 02:09 AM.


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