SKSE64Plugins icon indicating copy to clipboard operation
SKSE64Plugins copied to clipboard

Visual bug related to tints and possible resolution when loading high poly head

Open dervishxgit opened this issue 3 years ago • 0 comments

Greetings,

This bug exists in racemenu (for skyrim se) version 4.16. My apologies in advance if it has been addressed in the unreleased update.

Description: When loading high poly head, eye socket geometry conflicts with eyeball geometry.

Steps to reproduce:

  1. Start new game, load racemenu, and under Head section switch Face Part to a high poly head.
  2. Go to Eyes section, and adjust eye height up or down; note geometry occluding eyeballs.
  3. Exit racemenu; note that problem persists for character in world.

Work around that leads to possible solution: 4. Open racemenu again, note that problem as been corrected, eyes can be moved and geometry is not conflicting anymore.

Rationale for solution: On load, racemenu must be resetting necessary values for proper display.

Solution: The following edit was made so that the necessary reload happened on the face part slider change. Ideally, this call might exist in the selection logic above that matches the proper string for that slider value. Because I don't know the correct string, I put it here, ensuring that it updated the necessary values. (Of course that means I cannot guarantee it isn't the update when the eye height is adjusted that is doing it, but correlating with the above that the issue is corrected on racemenu reload seems likely.)

In racemenu.psc:
Event OnMenuSliderChange(string eventName, string strArg, float numArg, Form formArg)
	If strArg == "ChangeTintingMask" || strArg == "ChangeMaskColor"
		SaveTints()
		UpdateColors()
	Elseif strArg == "ChangeHairColorPreset"
		SaveHair()
		UpdateColors()
	Endif
	
	;From what I can tell, this is the essential call.
	UpdateTints()
EndEvent

Thank you for your work and your time.

dervishxgit avatar Dec 27 '21 05:12 dervishxgit