blurstudio / Simplex

The Simplex Blendshape UI from Blur Studio
GNU Lesser General Public License v3.0
120 stars 41 forks source link

Name cascade #102

Closed tbttfox closed 5 years ago

tbttfox commented 5 years ago

Yet another massive PR that probably should have been 4 or 5. But since I'm the only guy messing with this, it shouldn't be an issue.

This branch started with the idea that renaming should cascade: Rename a slider that a combo depends on? The combo should get the update. Also (the harder part) vice versa. The skeleton of that system is in place, but not in use.

However, this ended up as a delegation of choices. The simplex items themselves now handle how they organize in the separate trees, and we don't have massive if/elif trees in the Models.

Then I fixed a lot of bugs, made combo creation always go through the ComboChecker, unified alembic backend handling, and made all the imports relative. I also fixed UnSubdivide, and added a uv-space transfer (which may not work outside of Blur for a while).