Welder - a simple plugin about constraints

Damn, actually nothing. Just changed its category from Resources to Cool Creations since I really think that there are many plugins and modules that cover this in a better way.

But now you’re asking, some days ago I started using back this plugin for Motor6Ds in my animations and while using it I realized the blurry and low-quality icons, so probably I’ll be changing those. Also though about making it open-source, now that I know how to use github.

Update: As I said, made a quick update just to fix some of those things that I didn’t like about the plugin.

  • New button icons and plugin icon

  • Plugin is now open-source at Github

  • Updated the way the plugin synced its UI theme with the Studio theme, it’s a little bit better now.

  • Replaced all the old wait() with task.wait() from the new task library.

  • Got rid of “math abbreviations” like using local insert = table.insert instead of directly table.insert since those micro-optimizations can’t really be noticed in such things like this plugin. Since now the plugin is open-source, although many will learn nothing from it I wanted to keep the source code as clean and readable as possible.

    Could’ve changed a lot from the source code to make it easier to read but it would’ve take me a lot of time that I don’t want to waste so I just focused on those little things.

  • Added some new warn() that were missing in some situations.

  • Changed a little bit the way in which weld parenting worked. Old behavior was: if you don’t have a parent I’ll make a folder to act as one. New behavior: if you don’t have a parent no welds for you.

  • Changed default and minimum plugin widget size to also include the parent display section since I was tired of manually expanding my plugin widget to check if the parent was selected correctly or not.

  • Changed the way table.insert() was used to match with the new Luau behavior.

    Luau Recap: July 2021

    Behavior changes

    table.insert will no longer move elements forward 1 spot when index is negative or 0.

    This change also fixed a performance issue when table.insert was called with a large negative index.

    The ‘TableOperations’ lint mentioned earlier will flag cases where insertion at index 0 is performed.

  • Got rid of all the :WaitForChild() since they were not necessary due to the hierarchy of the plugin.

  • Added a custom name to the plugin widget to display as WeldingMenu under the PluginGuiService tab instead of PluginWidget.

2 Likes