Made slider work with string value

This commit is contained in:
Gyedo Jeon 2010-04-17 00:10:22 +00:00
parent 671276fa6d
commit 0b04414091

View File

@ -361,6 +361,9 @@ class ObjectPropertyUI(ScrolledPanel):
if value is None:
continue
if propDataType != OG.PROP_FLOAT:
value = float(value)
propUI = ObjectPropUISlider(self.propsPane, key, value, propRange[OG.RANGE_MIN], propRange[OG.RANGE_MAX])
sizer.Add(propUI)