Reg Ren Matrix Update Time >> Technology >> Our Forum
Our Forum

Our Forum



SearchSearch   Users   Registration   Entrance
Today: 23.07.2025 - 09:31:25
Pages:  1  

Reg Ren Matrix Update Time

Advertising


MessageAuthor

Hi friends, It seems my scripts that change the region render matrix may be flawed - but I'm not sure. They are working as desired - but the Region Render Matrix Window GUI seems to take a while to update. IE I have a script that adds a region to the matrix at the cursor position for each track currently selected. It works as desired, but it takes two or so seconds for the Region Render Matrix GUI to update, coloring in those cells. Has anyone seen anything like that? Best, divedive

---------------------

derek

users




Statistics:
Messages: 44
Registration: 02.26.2001
07.04.24 - 14:17:37
Message # 1
RE: Reg Ren Matrix Update Time

Lag like that is often just Reaper's graphics catching up because you've created a whole bunch of individual screen updates. i.e. Calling the "create new track" action 100 times will take a few seconds because it doesn't know you're creating 100 tracks and has to draw them one at a time. If that's the case, you can tell Reaper to wait while you do your stuff and then only have to redraw once: Code:

---------------------
http://bimmerinfo.com

nughaud

users




Statistics:
Messages: 314
Registration: 09.26.2001
07.04.24 - 14:28:39
Message # 2
RE: Reg Ren Matrix Update Time

Lokasenna, Thank you again. I'm not sure that's fixing it. The below little script still takes a while to update the GUI. If I three tracks and three regions, and click a couple in the GUI to test - it takes a second or two to clear the region render matrix - and I don't imagine this method is so inefficient that it is the cause. Any thoughts? reaper.PreventUIRefresh(1) for h = 0, reaper.CountTracks(0)-1 do for i = 0, reaper.CountProjectMarkers(0) do retval, isRgn, startPos, endPos, name, markrgnindex = reaper.EnumProjectMarkers(i) if isRgn then reaper.SetRegionRenderMatrix(0, markrgnindex, reaper.GetTrack(0,h), -1) end end end reaper.PreventUIRefresh(-1)

---------------------
"It is Foolishness, and endless trouble, to cast a stone at every dog that barks at you" - anonymous

cowboy bebop

users




Statistics:
Messages: 676
Registration: 03.13.2003
07.04.24 - 14:32:45
Message # 3
RE: Reg Ren Matrix Update Time

Oh, you're running into a different issue. There isn't actually a time delay, it's just not updating the RRM window until you move the mouse over it. I've tried using reaper.UpdateArrange(), didn't help, and I also tried toggling the RRM window off and on but for some reason it doesn't bring it back up. I'd call it a bug.

---------------------

Franchise

users




Statistics:
Messages: 2,652
Registration: 02.20.2003
07.04.24 - 14:41:05
Message # 4
RE: Reg Ren Matrix Update Time

Ah ok. Thanks again Loka.

---------------------

Cruzer

users




Statistics:
Messages: 352
Registration: 10.22.2002
07.04.24 - 14:47:03
Message # 5
RE: Reg Ren Matrix Update Time
Is it possible to give still images a duration for Blu-ray? : Previous topic
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants