Toggle Mesh Paths

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Lukas
Posts: 1297
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Toggle Mesh Paths

Post by Lukas »

Here's a script that toggles the 'paths' visibility for layers that are being used as smart warp layers with meshes. It's especially useful if you decide to set the alpha for the mesh fills to zero.
User avatar
TheMinahBird
Posts: 263
Joined: Sat Jul 27, 2013 11:10 pm

Re: Toggle Mesh Paths

Post by TheMinahBird »

I find this to be ingenious as a concept, I don't get why the ability to toggle all Warp visibility in the same way you can do Fills or Strokes isn't a native feature.

However, I want out point out that upon installation it says 'nil' value to "GetDistortionMeshLayer" (lua:89 and 46)?
"Now hatred is by far the longest pleasure; men love in haste but they detest at leisure" - Lord Byron
User avatar
synthsin75
Posts: 9973
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Toggle Mesh Paths

Post by synthsin75 »

Those Lua errors are due to a script function only available in v14. There are no readily available alternates for earlier versions of Moho.
Post Reply