Page 2 of 2
					
				Re: Scale Сompensation GPU Bug
				Posted: Wed Jan 25, 2017 3:39 pm
				by synthsin75
				Greenlaw wrote:Oh, if it's not too much trouble, that would be fantastic! Thanks Wes!
I'll get in touch with you as soon as I can whip up an example I can send.
(I 
really need to learn Lua. I learned a little bit of Javascript/Extendscript for After Effects at work, so maybe I can adapt.) 

 
Yeah, an example would help for testing. Lua, itself, should be fairly easy with any previous scripting knowledge. The problem is with the sparsely documented Moho API.
 
			
					
				Re: Scale Сompensation GPU Bug
				Posted: Mon Feb 20, 2017 12:55 am
				by chucky
				Interesting, I'll be watching this topic.
			 
			
					
				Re: Scale Сompensation GPU Bug
				Posted: Mon Feb 20, 2017 7:58 am
				by synthsin75
				OMG. I completely forgot about this...waiting for example file. Here's the code to cache all selected layers:
Code: Select all
	local sel = moho.document:CountSelectedLayers()-1
	for i=0, sel do
		local layer = moho.document:GetSelectedLayer(i)
		moho:SetSelLayer(layer)
	end
If I get an example that shows the problem, I'll make it into a script an see what other things I can do that may help. But you can put this code in the Run function of a menu script for now.