mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Bug fixes
- Fixed bug where graphic paths would be repeated in the race settings menu - The body type dropdown and offset fields will deactivate and no longer apply when an actor's race is changed to a non-humanoid
This commit is contained in:
parent
61c6c949d3
commit
6b44db7400
61 changed files with 89 additions and 68 deletions
|
@ -89,7 +89,7 @@ namespace RimWorldAnimationStudio
|
|||
|
||||
public Vector3 GetFinalTransformOffset()
|
||||
{
|
||||
Vector3 offset = bodyTypeOffset.GetOffset(bodyType) + GetAlienRaceOffset();
|
||||
Vector3 offset = GetAlienRaceOffset() + (GetAlienRaceDef().isHumanoid ? bodyTypeOffset.GetOffset(bodyType) : new Vector3());
|
||||
|
||||
return new Vector3(offset.x, offset.z, offset.y);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue