Finalized the maya snapping script – prSnap

Phew… intense day today.

Finding some bugs in the script and also making it more “intelligent” it seems after some beta testing, some animators already had problems with the “cleanup” button. Apparently, the script cannot recognize other locators that were created before.

2nd problem, it used to be only able to target 1 object once. And you have to clean up, if not, it doesn’t work. Now , it can target multiple objects, multiple times and u can keep the locators there for infinity!!! Until you choose to cleanup.

I imbued in a “prAwesomeLocator*” checker. Listing all locators with “prAwesomeLocator*” as prefix and appending it to a Global list DaLocator.  Then when I run the script, I’ll run this checker before the uiMain(). neat eh?

So here it is, the final at least for now. Sept 24th update.

prSnap

Note to self : this checker I’d probably be able to use in similar scripts. Next goal is to add. Object grabber.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s