Skip to content

Fix BP penis not following the Studio penis size slider - #15

Merged
ManlyMarco merged 1 commit into
IllusionMods:masterfrom
Clo15:fix-penis-length-after-scale-change
Sep 20, 2026
Merged

ManlyMarco merged 1 commit into
IllusionMods:masterfrom
Clo15:fix-penis-length-after-scale-change

Conversation

@Clo15

@Clo15 Clo15 commented Sep 15, 2026

Copy link
Copy Markdown

Description

In Studio the penis size slider scales a non-BP penis fully, but a BP penis only gets thicker.

The length was only measured when the dan agent was built; now SetDanTarget reads it from the bone scale every frame, alongside the girth it already calculates there (one vector transform, no allocations).

Motivation and Context

The size slider is part of vanilla Studio, so it should resize a BP penis the same way it resizes a non-BP one.

How Has This Been Tested?

KK CharaStudio with BP 5.1: moved the penis size slider on a BP penis and on a non-BP penis. Stock BP only changes the girth of the BP penis; with the patch both scale the same way. The change is in shared Core, so it builds for KKS as well.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

The dan agent measured the penis length once, when it was built, so the size slider only made a BP penis thicker until something rebuilt the agent. A non-BP penis scales fully.
@ManlyMarco
ManlyMarco merged commit a4b7116 into IllusionMods:master Sep 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants