[radegast] r1199 committed - Use the newest version of VisualParam in param maps

0 views
Skip to first unread message

rade...@googlecode.com

unread,
Feb 12, 2012, 7:20:34 PM2/12/12
to radega...@googlegroups.com
Revision: 1199
Author: logicmoo
Date: Sun Feb 12 16:20:18 2012
Log: Use the newest version of VisualParam in param maps
http://code.google.com/p/radegast/source/detail?r=1199

Modified:
/trunk/Radegast/GUI/Rendering/RenderAvatar.cs

=======================================
--- /trunk/Radegast/GUI/Rendering/RenderAvatar.cs Sun Feb 12 15:13:22 2012
+++ /trunk/Radegast/GUI/Rendering/RenderAvatar.cs Sun Feb 12 16:20:18 2012
@@ -1704,8 +1704,7 @@

//TODO other paramaters but these arew concerned with editing
the GUI display so not too fussed at the moment

- if (allParams.ContainsKey(ParamID)) Logger.Log("Duplicate
VisualParam in allParams id " + ParamID.ToString(), Helpers.LogLevel.Info);
- else allParams.Add(ParamID, this);
+ allParams[ParamID] = this;

if (pt == ParamType.TYPE_BONEDEFORM)
{
@@ -1726,8 +1725,7 @@
ParseVolumeDeforms(node.ChildNodes[0].ChildNodes);
}

- if (morphParams.ContainsKey(ParamID))
Logger.Log("Duplicate VisualParam in morphParams id " + ParamID.ToString(),
Helpers.LogLevel.Info);
- else morphParams.Add(ParamID, this);
+ morphParams[ParamID] = this;

}

Reply all
Reply to author
Forward
0 new messages