wkpark / uddetailer

μ DDetailer, DDetailer fork to support DDetailer as an extension
GNU Affero General Public License v3.0
57 stars 2 forks source link

Bugfix: Fix select masks feature when using both A and B #69

Closed CoryG89 closed 8 months ago

CoryG89 commented 8 months ago

I noticed an issue when trying to use the select masks feature when using both A and B where the selection for B was being overwritten with the selection for A. I tracked this down to a place where dd_select_masks_a was being passed in where dd_select_masks_b was expected. While doing so, I noticed that the gc module was being called in a function named clear_model_cache but was never being imported so I added an import for the gc module as well.

wkpark commented 8 months ago

thank you for your contribution!