Lost Scripts' Shapes Window (**New** BETA 4 PE+) for Moho 14.3+ Pro

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

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Greenlaw
Posts: 10682
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: Lost Scripts' Shapes Window (**New** BETA 4 PE+) for Moho 14.3+ Pro

Post by Greenlaw »

I should explain a little more about what I'm doing: I'm setting up a Smart Bone Action that's animating the point positions for many small shapes, and I'm using Shapes Window to select which shapes/points I want to edit. Everything is fine when I'm selecting shapes and editing them in a frame, but Moho freezes when I scrub the timeline to check the motion. As mentioned above, I can usually recover Moho by closing Shapes Windows.

So far, I'm seeing this 'freeze' happen when scrubbing while inside the Smart Bone Action. I'm not sure yet if this also happens on the Mainline. TBD.

Keeping Shapes Window open isn't super critical to this task, but I wish I could keep it open while working on it.
User avatar
Rai López
Posts: 2326
Joined: Sun Aug 08, 2004 5:41 am
Location: Spain
Contact:

Re: Lost Scripts' Shapes Window (**New** BETA 4 PE+) for Moho 14.3+ Pro

Post by Rai López »

Thank you for pointing me out to it, Denis. The download link should now be fixed (and yes, the last one is v0.4.2), although I'll have to wait untill tomorrow at least to can investigate about the issue you are facing, but I'm sure your detailed descriptions will help. I don't think I've stressed the usage of the script while editing actions so, yeah, that well may have something to do with it... So I'll try to reproduce it here taking into account all you said and let you know in any case. Greetings.
...
User avatar
Greenlaw
Posts: 10682
Joined: Mon Jun 19, 2006 9:45 am
Location: Los Angeles
Contact:

Re: Lost Scripts' Shapes Window (**New** BETA 4 PE+) for Moho 14.3+ Pro

Post by Greenlaw »

Thanks, Rai!

If I have time tomorrow, I can record a video of what I'm seeing here. Other than that, this version of Shapes Window is working well for me. :)
User avatar
Rai López
Posts: 2326
Joined: Sun Aug 08, 2004 5:41 am
Location: Spain
Contact:

Re: Lost Scripts' Shapes Window (**New** BETA 4 PE+) for Moho 14.3+ Pro

Post by Rai López »

Just a quick note... Yep, I can see that scrubbing the timehead is a little more laggy here while the Shapes Window is open, although I'm not perceiving a real difference whether if I'm in Mainline or inside an Action/SB.

Playback is always OK though, but that's to be expected due to (unlike dragging) no updates are sent to this kind of dialogs during playback. Anyway (ideally at least), no lag should be produced for the mere fact of having the window open during scrubbing, at least unless at some point something forces the shape palette to be redrawn e.g. at reaching/passing an Animated shapes order keyframe? 🤔 But I'm testing a file with more than 200 shapes being order-animated and, surprisingly, that doesn't seem to add any extra noticeable lag, which makes me suspect that for some reason the palette simply gets updated at frame change when it shouldn't; but to be honest, OTOH, if that were the case I'm also a bit surprised that the lag isn't greater...

Well, there are many, but now it seems I'd just need to find out which part of the script's update part could be causing that and hopefully find an easy fix for it, so I'll keep investigating... Thanks again for letting me know!
...
Post Reply