From aab7b3ff1625bb5e7543cebb2098d2e3c17497eb Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Thu, 23 May 2019 16:26:31 +0300 Subject: [PATCH] (c08201dee) Hide the texture scale for now, because currently you shouldn't edit it in the editor. --- .../Characters/Animation/Params/Ragdoll/RagdollParams.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/Source/Characters/Animation/Params/Ragdoll/RagdollParams.cs b/Barotrauma/BarotraumaShared/Source/Characters/Animation/Params/Ragdoll/RagdollParams.cs index 0ca685008..cec8bfc44 100644 --- a/Barotrauma/BarotraumaShared/Source/Characters/Animation/Params/Ragdoll/RagdollParams.cs +++ b/Barotrauma/BarotraumaShared/Source/Characters/Animation/Params/Ragdoll/RagdollParams.cs @@ -36,7 +36,8 @@ namespace Barotrauma [Serialize(1.0f, true), Editable(MIN_SCALE, MAX_SCALE, DecimalCount = 3)] public float JointScale { get; set; } - [Serialize(1f, true), Editable(DecimalCount = 2)] + // Don't show in the editor, because shouldn't be edited in runtime. Requires that the limb scale and the collider sizes are adjusted. TODO: automatize. + [Serialize(1f, false)] public float TextureScale { get; set; } [Serialize(45f, true), Editable(0f, 1000f)]