Page 1 of 1

Penis sliders don't work for self defined penis

PostPosted: Mon Jun 05, 2017 6:52 pm
by porky11
I made a new penis proxy and it works as expected, but the sliders are disabled.
The sliders only work, when I use the adult_male_genitalia from the user contributed assets.
After editing the sliders, and changing back to my own penis proxy, the size has changed as expected.
What did I do wrong?

Re: Penis sliders don't work for self defined penis

PostPosted: Tue Jun 06, 2017 7:25 am
by joepal
You need to add a tag to the descriptor file (the ".proxy" file).

The relevant piece of code for determining if a proxy is considered "with genitals" and should enable the sliders is this:

Code: Select all
    def hasGenitals(self):
        """
        Determines whether the human model has genitals geometry.
        Genitals geometry is present if the proxy (alt. topology)
        has the tag "genitals" assinged (convention).
        """
        if self.isProxied():
            if 'genitals' in self.proxy.tags or 'Genitals' in self.proxy.tags:
                return True
        return False


If you take a look in http://www.makehumancommunity.org/sites ... alia.proxy, line 7, you can see how it's supposed to look.

Re: Penis sliders don't work for self defined penis

PostPosted: Tue Jun 06, 2017 8:12 pm
by porky11
Thanks, works now