Skip to content

Commit

Permalink
Changed math to at multiplier to baseNode size instead of setting the…
Browse files Browse the repository at this point in the history
… scaleNode number to the node size.
  • Loading branch information
frencrs committed Sep 8, 2014
1 parent 56a738f commit b52abd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scale.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private void rescaleNode(AttachNode node, AttachNode baseNode)
var options = (UI_ChooseOption)this.Fields["tweakName"].uiControlEditor;
if (scaleNodes.Length > 0)
{
node.size = scaleNodes[tweakName];
node.size = (int)(baseNode.size + (1 * scaleNodes[tweakName]));
}
else
{
Expand Down

0 comments on commit b52abd6

Please sign in to comment.